Merge branch 'master' into v2.1
[luajit-2.0.git] / src / lj_parse.h
blob532657a01159a7268677148d8c7aff7965b8030e
1 /*
2 ** Lua parser (source code -> bytecode).
3 ** Copyright (C) 2005-2014 Mike Pall. See Copyright Notice in luajit.h
4 */
6 #ifndef _LJ_PARSE_H
7 #define _LJ_PARSE_H
9 #include "lj_obj.h"
10 #include "lj_lex.h"
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
18 #endif