diff options
| author | Lua Team <team@lua.org> | 2004-03-24 12:00:00 +0000 |
|---|---|---|
| committer | repogen <> | 2004-03-24 12:00:00 +0000 |
| commit | ced7bbbe7a257ce6de94069d5dbf6672aeafd4d9 (patch) | |
| tree | 2a01a79e6a4f451dccd247c70310ad957204cefa /src/llex.h | |
| parent | e7731a8fb8a317aa5c444ef073bfad82fa5baa54 (diff) | |
| download | lua-github-ced7bbbe7a257ce6de94069d5dbf6672aeafd4d9.tar.gz | |
Lua 5.1-work05.1-work0
Diffstat (limited to 'src/llex.h')
| -rw-r--r-- | src/llex.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ /* -** $Id: llex.h,v 1.47 2003/02/28 17:19:47 roberto Exp $ +** $Id: llex.h,v 1.50 2004/03/12 19:53:56 roberto Exp $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ @@ -65,10 +65,10 @@ typedef struct 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_checklimit (LexState *ls, int val, int limit, const char *msg); +void luaX_lexerror (LexState *ls, const char *msg, int token); void luaX_syntaxerror (LexState *ls, const char *s); -void luaX_errorline (LexState *ls, const char *s, const char *token, int line); const char *luaX_token2str (LexState *ls, int token); |
