diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-03-05 17:45:01 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-03-05 17:45:01 -0300 |
commit | 78edc241e95d467e2b6c9a26b5311a62c7b04459 (patch) | |
tree | 70a0a7dbbc44c6b3c05adb506100b237e3a99caf /llex.c | |
parent | e907c711c04b3e09164e7654623e1f48a689f5cc (diff) | |
download | lua-github-78edc241e95d467e2b6c9a26b5311a62c7b04459.tar.gz |
details about debug info.
Diffstat (limited to 'llex.c')
-rw-r--r-- | llex.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,5 +1,5 @@ /* -** $Id: llex.c,v 1.30 1999/02/25 19:13:56 roberto Exp roberto $ +** $Id: llex.c,v 1.31 1999/03/04 21:17:26 roberto Exp roberto $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ @@ -48,8 +48,7 @@ void luaX_syntaxerror (LexState *ls, char *s, char *token) { luaL_chunkid(buff, zname(ls->lex_z), MAXSRC); if (token[0] == '\0') token = "<eof>"; - luaL_verror("%.100s;\n last token read: `%.50s' " - "at line %d from %.50s", + luaL_verror("%.100s;\n last token read: `%.50s' at line %d in %.50s", s, token, ls->linenumber, buff); } |