mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
19 lines
417 B
C
19 lines
417 B
C
/*
|
|
** Lua parser (source code -> bytecode).
|
|
** Copyright (C) 2005-2023 Mike Pall. See Copyright Notice in luajit.h
|
|
*/
|
|
|
|
#ifndef _LJ_PARSE_H
|
|
#define _LJ_PARSE_H
|
|
|
|
#include "lj_obj.h"
|
|
#include "lj_lex.h"
|
|
|
|
LJ_FUNC GCproto *lj_parse(LexState *ls);
|
|
LJ_FUNC GCstr *lj_parse_keepstr(LexState *ls, const char *str, size_t l);
|
|
#if LJ_HASFFI
|
|
LJ_FUNC void lj_parse_keepcdata(LexState *ls, TValue *tv, GCcdata *cd);
|
|
#endif
|
|
|
|
#endif
|