/freebsd/contrib/lua/src/ |
H A D | llex.c | 54 static l_noret lexerror (LexState *ls, const char *msg, int token); 57 static void save (LexState *ls, int c) { in save() 82 const char *luaX_token2str (LexState *ls, int token) { in luaX_token2str() 99 static const char *txtToken (LexState *ls, int token) { in txtToken() 111 static l_noret lexerror (LexState *ls, const char *msg, int token) { in lexerror() 119 l_noret luaX_syntaxerror (LexState *ls, const char *msg) { in luaX_syntaxerror() 134 TString *luaX_newstring (LexState *ls, const char *str, size_t l) { in luaX_newstring() 156 static void inclinenumber (LexState *ls) { in inclinenumber() 167 void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source, in luaX_setinput() 191 static int check_next1 (LexState *ls, int c) { in check_next1() [all …]
|
H A D | llex.h | 64 typedef struct LexState { struct 78 } LexState; argument 82 LUAI_FUNC void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, 84 LUAI_FUNC TString *luaX_newstring (LexState *ls, const char *str, size_t l); 85 LUAI_FUNC void luaX_next (LexState *ls); 86 LUAI_FUNC int luaX_lookahead (LexState *ls); 87 LUAI_FUNC l_noret luaX_syntaxerror (LexState *ls, const char *s); 88 LUAI_FUNC const char *luaX_token2str (LexState *ls, int token);
|
H A D | lparser.c | 64 static void statement (LexState *ls); 65 static void expr (LexState *ls, expdesc *v); 68 static l_noret error_expected (LexState *ls, int token) { in error_expected() 95 static int testnext (LexState *ls, int c) { in testnext() 107 static void check (LexState *ls, int c) { in check() 116 static void checknext (LexState *ls, int c) { in checknext() 130 static void check_match (LexState *ls, int what, int who, int where) { in check_match() 143 static TString *str_checkname (LexState *ls) { in str_checkname() 166 static void codename (LexState *ls, expdesc *e) { in codename() 175 static int registerlocalvar (LexState *ls, FuncState *fs, TString *varname) { in registerlocalvar() [all …]
|
H A D | lparser.h | 147 struct LexState *ls; /* lexical state */
|
H A D | lcode.h | 101 LUAI_FUNC l_noret luaK_semerror (LexState *ls, const char *msg);
|
H A D | lcode.c | 46 l_noret luaK_semerror (LexState *ls, const char *msg) { in luaK_semerror()
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | llex.h | 54 typedef struct LexState { struct 68 } LexState; argument 72 LUAI_FUNC void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, 74 LUAI_FUNC TString *luaX_newstring (LexState *ls, const char *str, size_t l); 75 LUAI_FUNC void luaX_next (LexState *ls); 76 LUAI_FUNC int luaX_lookahead (LexState *ls); 77 LUAI_FUNC l_noret luaX_syntaxerror (LexState *ls, const char *s); 78 LUAI_FUNC const char *luaX_token2str (LexState *ls, int token);
|
H A D | lparser.c | 53 static void statement (LexState *ls); 54 static void expr (LexState *ls, expdesc *v); 57 static void anchor_token (LexState *ls) { in anchor_token() 68 static l_noret semerror (LexState *ls, const char *msg) { in semerror() 74 static l_noret error_expected (LexState *ls, int token) { in error_expected() 98 static int testnext (LexState *ls, int c) { in testnext() 107 static void check (LexState *ls, int c) { in check() 113 static void checknext (LexState *ls, int c) { in checknext() 123 static void check_match (LexState *ls, int what, int who, int where) { in check_match() 136 static TString *str_checkname (LexState *ls) { in str_checkname() [all …]
|
H A D | llex.c | 45 static l_noret lexerror (LexState *ls, const char *msg, int token); 48 static void save (LexState *ls, int c) { in save() 71 const char *luaX_token2str (LexState *ls, int token) { in luaX_token2str() 87 static const char *txtToken (LexState *ls, int token) { in txtToken() 100 static l_noret lexerror (LexState *ls, const char *msg, int token) { in lexerror() 110 l_noret luaX_syntaxerror (LexState *ls, const char *msg) { in luaX_syntaxerror() 120 TString *luaX_newstring (LexState *ls, const char *str, size_t l) { in luaX_newstring() 144 static void inclinenumber (LexState *ls) { in inclinenumber() 155 void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source, in luaX_setinput() 181 static int check_next (LexState *ls, const char *set) { in check_next() [all …]
|
H A D | lparser.h | 100 struct LexState *ls; /* lexical state */
|