From df0df08bc537d4f2c13446fee20f8a4335f9d9d2 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 19 Jun 1998 15:47:06 -0300 Subject: "dostring" accepts chunk name. --- llex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llex.c') diff --git a/llex.c b/llex.c index 8bd60aaf..8ae01d08 100644 --- a/llex.c +++ b/llex.c @@ -1,5 +1,5 @@ /* -** $Id: llex.c,v 1.20 1998/06/06 20:44:05 roberto Exp roberto $ +** $Id: llex.c,v 1.21 1998/06/18 16:57:03 roberto Exp roberto $ ** Lexical Analizer ** See Copyright Notice in lua.h */ @@ -48,7 +48,7 @@ void luaX_init (void) void luaX_syntaxerror (LexState *ls, char *s, char *token) { if (token[0] == 0) token = ""; - luaL_verror("%.100s;\n last token read: `%.50s' at line %d in file %.50s", + luaL_verror("%.100s;\n last token read: `%.50s' at line %d in chunk `%.50s'", s, token, ls->linenumber, zname(ls->lex_z)); } -- cgit v1.2.3-55-g6feb