diff options
Diffstat (limited to 'src/llex.h')
-rw-r--r-- | src/llex.h | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -1,5 +1,5 @@ /* -** $Id: llex.h,v 1.52 2004/12/03 20:54:12 roberto Exp $ +** $Id: llex.h,v 1.54 2005/04/25 19:24:10 roberto Exp $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ @@ -63,17 +63,17 @@ typedef struct LexState { ZIO *z; /* input stream */ Mbuffer *buff; /* buffer for tokens */ TString *source; /* current source name */ - int nestlevel; /* level of nested non-terminals */ } LexState; -void luaX_init (lua_State *L); -void luaX_setinput (lua_State *L, LexState *LS, ZIO *z, TString *source); -TString *luaX_newstring (LexState *LS, const char *str, size_t l); -int luaX_lex (LexState *LS, SemInfo *seminfo); -void luaX_lexerror (LexState *ls, const char *msg, int token); -void luaX_syntaxerror (LexState *ls, const char *s); -const char *luaX_token2str (LexState *ls, int token); +LUAI_FUNC void luaX_init (lua_State *L); +LUAI_FUNC void luaX_setinput (lua_State *L, LexState *LS, ZIO *z, + TString *source); +LUAI_FUNC TString *luaX_newstring (LexState *LS, const char *str, size_t l); +LUAI_FUNC int luaX_lex (LexState *LS, SemInfo *seminfo); +LUAI_FUNC void luaX_lexerror (LexState *ls, const char *msg, int token); +LUAI_FUNC void luaX_syntaxerror (LexState *ls, const char *s); +LUAI_FUNC const char *luaX_token2str (LexState *ls, int token); #endif |