1 | /* |
---|---|
2 | ** Lua parser (source code -> bytecode). |
3 | ** Copyright (C) 2005-2014 Mike Pall. See Copyright Notice in luajit.h |
4 | */ |
5 | |
6 | #ifndef _LJ_PARSE_H |
7 | #define _LJ_PARSE_H |
8 | |
9 | #include "lj_obj.h" |
10 | #include "lj_lex.h" |
11 | |
12 | LJ_FUNC GCproto *lj_parse(LexState *ls); |
13 | LJ_FUNC GCstr *lj_parse_keepstr(LexState *ls, const char *str, size_t l); |
14 | #if LJ_HASFFI |
15 | LJ_FUNC void lj_parse_keepcdata(LexState *ls, TValue *tv, GCcdata *cd); |
16 | #endif |
17 | |
18 | #endif |
19 |