aboutsummaryrefslogtreecommitdiff
path: root/llex.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-03-05 17:45:01 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-03-05 17:45:01 -0300
commit78edc241e95d467e2b6c9a26b5311a62c7b04459 (patch)
tree70a0a7dbbc44c6b3c05adb506100b237e3a99caf /llex.c
parente907c711c04b3e09164e7654623e1f48a689f5cc (diff)
downloadlua-78edc241e95d467e2b6c9a26b5311a62c7b04459.tar.gz
lua-78edc241e95d467e2b6c9a26b5311a62c7b04459.tar.bz2
lua-78edc241e95d467e2b6c9a26b5311a62c7b04459.zip
details about debug info.
Diffstat (limited to 'llex.c')
-rw-r--r--llex.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/llex.c b/llex.c
index 0addaf47..16ed522e 100644
--- a/llex.c
+++ b/llex.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llex.c,v 1.30 1999/02/25 19:13:56 roberto Exp roberto $ 2** $Id: llex.c,v 1.31 1999/03/04 21:17:26 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*/
@@ -48,8 +48,7 @@ void luaX_syntaxerror (LexState *ls, char *s, char *token) {
48 luaL_chunkid(buff, zname(ls->lex_z), MAXSRC); 48 luaL_chunkid(buff, zname(ls->lex_z), MAXSRC);
49 if (token[0] == '\0') 49 if (token[0] == '\0')
50 token = "<eof>"; 50 token = "<eof>";
51 luaL_verror("%.100s;\n last token read: `%.50s' " 51 luaL_verror("%.100s;\n last token read: `%.50s' at line %d in %.50s",
52 "at line %d from %.50s",
53 s, token, ls->linenumber, buff); 52 s, token, ls->linenumber, buff);
54} 53}
55 54