diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-03-12 16:53:56 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-03-12 16:53:56 -0300 |
commit | a003e891252a2f6b4b7d1d006b20d2b306626caa (patch) | |
tree | b4ca1f1a192713897aa40d0248178f7d2cb8b367 /llex.h | |
parent | b876ec61c03e05ea0c4c02d8ad8abb84cf55e87c (diff) | |
download | lua-a003e891252a2f6b4b7d1d006b20d2b306626caa.tar.gz lua-a003e891252a2f6b4b7d1d006b20d2b306626caa.tar.bz2 lua-a003e891252a2f6b4b7d1d006b20d2b306626caa.zip |
better error messages for some limits
Diffstat (limited to 'llex.h')
-rw-r--r-- | llex.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llex.h,v 1.48 2003/08/27 21:01:44 roberto Exp roberto $ | 2 | ** $Id: llex.h,v 1.49 2003/10/20 12:24:34 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 | */ |
@@ -67,7 +67,7 @@ void luaX_init (lua_State *L); | |||
67 | void luaX_setinput (lua_State *L, LexState *LS, ZIO *z, TString *source); | 67 | void luaX_setinput (lua_State *L, LexState *LS, ZIO *z, TString *source); |
68 | TString *luaX_newstring (LexState *LS, const char *str, size_t l); | 68 | TString *luaX_newstring (LexState *LS, const char *str, size_t l); |
69 | int luaX_lex (LexState *LS, SemInfo *seminfo); | 69 | int luaX_lex (LexState *LS, SemInfo *seminfo); |
70 | void luaX_checklimit (LexState *ls, int val, int limit, const char *msg); | 70 | void luaX_lexerror (LexState *ls, const char *msg, int token); |
71 | void luaX_syntaxerror (LexState *ls, const char *s); | 71 | void luaX_syntaxerror (LexState *ls, const char *s); |
72 | const char *luaX_token2str (LexState *ls, int token); | 72 | const char *luaX_token2str (LexState *ls, int token); |
73 | 73 | ||