diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-02-28 14:19:47 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-02-28 14:19:47 -0300 |
commit | 6b6bc532a4f5e335540e6f19914cfe8435d064ed (patch) | |
tree | a7d456a86bf86ef6d6e1333d7372f17ad9562773 /llex.h | |
parent | ea16ee41a8b0e6fe2c8f77e901a7d99173065beb (diff) | |
download | lua-6b6bc532a4f5e335540e6f19914cfe8435d064ed.tar.gz lua-6b6bc532a4f5e335540e6f19914cfe8435d064ed.tar.bz2 lua-6b6bc532a4f5e335540e6f19914cfe8435d064ed.zip |
better error message for (deprecated) "%global"
Diffstat (limited to 'llex.h')
-rw-r--r-- | llex.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llex.h,v 1.45 2002/10/08 18:46:08 roberto Exp roberto $ | 2 | ** $Id: llex.h,v 1.46 2002/11/22 16:35:20 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 | */ |
@@ -68,6 +68,7 @@ void luaX_setinput (lua_State *L, LexState *LS, ZIO *z, TString *source); | |||
68 | int luaX_lex (LexState *LS, SemInfo *seminfo); | 68 | int luaX_lex (LexState *LS, SemInfo *seminfo); |
69 | void luaX_checklimit (LexState *ls, int val, int limit, const char *msg); | 69 | void luaX_checklimit (LexState *ls, int val, int limit, const char *msg); |
70 | void luaX_syntaxerror (LexState *ls, const char *s); | 70 | void luaX_syntaxerror (LexState *ls, const char *s); |
71 | void luaX_errorline (LexState *ls, const char *s, const char *token, int line); | ||
71 | const char *luaX_token2str (LexState *ls, int token); | 72 | const char *luaX_token2str (LexState *ls, int token); |
72 | 73 | ||
73 | 74 | ||