summaryrefslogtreecommitdiff
path: root/llex.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-02-28 14:19:47 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-02-28 14:19:47 -0300
commit6b6bc532a4f5e335540e6f19914cfe8435d064ed (patch)
treea7d456a86bf86ef6d6e1333d7372f17ad9562773 /llex.h
parentea16ee41a8b0e6fe2c8f77e901a7d99173065beb (diff)
downloadlua-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llex.h b/llex.h
index 2df59d0b..00c73c77 100644
--- a/llex.h
+++ b/llex.h
@@ -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);
68int luaX_lex (LexState *LS, SemInfo *seminfo); 68int luaX_lex (LexState *LS, SemInfo *seminfo);
69void luaX_checklimit (LexState *ls, int val, int limit, const char *msg); 69void luaX_checklimit (LexState *ls, int val, int limit, const char *msg);
70void luaX_syntaxerror (LexState *ls, const char *s); 70void luaX_syntaxerror (LexState *ls, const char *s);
71void luaX_errorline (LexState *ls, const char *s, const char *token, int line);
71const char *luaX_token2str (LexState *ls, int token); 72const char *luaX_token2str (LexState *ls, int token);
72 73
73 74