aboutsummaryrefslogtreecommitdiff
path: root/llex.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-03-12 16:53:56 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-03-12 16:53:56 -0300
commita003e891252a2f6b4b7d1d006b20d2b306626caa (patch)
treeb4ca1f1a192713897aa40d0248178f7d2cb8b367 /llex.h
parentb876ec61c03e05ea0c4c02d8ad8abb84cf55e87c (diff)
downloadlua-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llex.h b/llex.h
index e37c6f54..deb9e74d 100644
--- a/llex.h
+++ b/llex.h
@@ -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);
67void luaX_setinput (lua_State *L, LexState *LS, ZIO *z, TString *source); 67void luaX_setinput (lua_State *L, LexState *LS, ZIO *z, TString *source);
68TString *luaX_newstring (LexState *LS, const char *str, size_t l); 68TString *luaX_newstring (LexState *LS, const char *str, size_t l);
69int luaX_lex (LexState *LS, SemInfo *seminfo); 69int luaX_lex (LexState *LS, SemInfo *seminfo);
70void luaX_checklimit (LexState *ls, int val, int limit, const char *msg); 70void luaX_lexerror (LexState *ls, const char *msg, int token);
71void luaX_syntaxerror (LexState *ls, const char *s); 71void luaX_syntaxerror (LexState *ls, const char *s);
72const char *luaX_token2str (LexState *ls, int token); 72const char *luaX_token2str (LexState *ls, int token);
73 73