From 3138afbe2e16f5a9ac3c40757e30b9563b23256b Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 25 Oct 2007 14:45:47 -0200 Subject: parser should not call 'luaX_lexerror' --- llex.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llex.h') diff --git a/llex.h b/llex.h index 0148a17f..7c7d2746 100644 --- a/llex.h +++ b/llex.h @@ -1,5 +1,5 @@ /* -** $Id: llex.h,v 1.59 2007/02/07 17:49:18 roberto Exp roberto $ +** $Id: llex.h,v 1.60 2007/05/11 17:28:56 roberto Exp roberto $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ @@ -69,7 +69,6 @@ LUAI_FUNC void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, LUAI_FUNC TString *luaX_newstring (LexState *ls, const char *str, size_t l); LUAI_FUNC void luaX_next (LexState *ls); LUAI_FUNC int luaX_lookahead (LexState *ls); -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); -- cgit v1.2.3-55-g6feb