diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2007-10-25 14:45:47 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2007-10-25 14:45:47 -0200 |
commit | 3138afbe2e16f5a9ac3c40757e30b9563b23256b (patch) | |
tree | 77817f0b12f833188b9439fa90d057bc0178ac87 /llex.h | |
parent | 4eef0aaad19cb442fc7b103eda9a249aa4c0ecef (diff) | |
download | lua-3138afbe2e16f5a9ac3c40757e30b9563b23256b.tar.gz lua-3138afbe2e16f5a9ac3c40757e30b9563b23256b.tar.bz2 lua-3138afbe2e16f5a9ac3c40757e30b9563b23256b.zip |
parser should not call 'luaX_lexerror'
Diffstat (limited to '')
-rw-r--r-- | llex.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llex.h,v 1.59 2007/02/07 17:49:18 roberto Exp roberto $ | 2 | ** $Id: llex.h,v 1.60 2007/05/11 17:28:56 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 | */ |
@@ -69,7 +69,6 @@ LUAI_FUNC void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, | |||
69 | LUAI_FUNC TString *luaX_newstring (LexState *ls, const char *str, size_t l); | 69 | LUAI_FUNC TString *luaX_newstring (LexState *ls, const char *str, size_t l); |
70 | LUAI_FUNC void luaX_next (LexState *ls); | 70 | LUAI_FUNC void luaX_next (LexState *ls); |
71 | LUAI_FUNC int luaX_lookahead (LexState *ls); | 71 | LUAI_FUNC int luaX_lookahead (LexState *ls); |
72 | LUAI_FUNC void luaX_lexerror (LexState *ls, const char *msg, int token); | ||
73 | LUAI_FUNC void luaX_syntaxerror (LexState *ls, const char *s); | 72 | LUAI_FUNC void luaX_syntaxerror (LexState *ls, const char *s); |
74 | LUAI_FUNC const char *luaX_token2str (LexState *ls, int token); | 73 | LUAI_FUNC const char *luaX_token2str (LexState *ls, int token); |
75 | 74 | ||