diff options
Diffstat (limited to 'llex.h')
| -rw-r--r-- | llex.h | 17 |
1 files changed, 9 insertions, 8 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: llex.h,v 1.52 2004/12/03 20:54:12 roberto Exp roberto $ | 2 | ** $Id: llex.h,v 1.53 2005/04/07 13:09:07 roberto Exp roberto $ |
| 3 | ** Lexical Analyzer | 3 | ** Lexical Analyzer |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -66,13 +66,14 @@ typedef struct LexState { | |||
| 66 | } LexState; | 66 | } LexState; |
| 67 | 67 | ||
| 68 | 68 | ||
| 69 | void luaX_init (lua_State *L); | 69 | LUAI_FUNC void luaX_init (lua_State *L); |
| 70 | void luaX_setinput (lua_State *L, LexState *LS, ZIO *z, TString *source); | 70 | LUAI_FUNC void luaX_setinput (lua_State *L, LexState *LS, ZIO *z, |
| 71 | TString *luaX_newstring (LexState *LS, const char *str, size_t l); | 71 | TString *source); |
| 72 | int luaX_lex (LexState *LS, SemInfo *seminfo); | 72 | LUAI_FUNC TString *luaX_newstring (LexState *LS, const char *str, size_t l); |
| 73 | void luaX_lexerror (LexState *ls, const char *msg, int token); | 73 | LUAI_FUNC int luaX_lex (LexState *LS, SemInfo *seminfo); |
| 74 | void luaX_syntaxerror (LexState *ls, const char *s); | 74 | LUAI_FUNC void luaX_lexerror (LexState *ls, const char *msg, int token); |
| 75 | const char *luaX_token2str (LexState *ls, int token); | 75 | LUAI_FUNC void luaX_syntaxerror (LexState *ls, const char *s); |
| 76 | LUAI_FUNC const char *luaX_token2str (LexState *ls, int token); | ||
| 76 | 77 | ||
| 77 | 78 | ||
| 78 | #endif | 79 | #endif |
