diff options
Diffstat (limited to 'llex.c')
-rw-r--r-- | llex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llex.c,v 1.104 2002/06/03 20:12:21 roberto Exp roberto $ | 2 | ** $Id: llex.c,v 1.105 2002/06/18 15:19:27 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 | */ |
@@ -60,7 +60,7 @@ static void luaX_error (LexState *ls, const char *s, const char *token) { | |||
60 | lua_State *L = ls->L; | 60 | lua_State *L = ls->L; |
61 | char buff[MAXSRC]; | 61 | char buff[MAXSRC]; |
62 | luaO_chunkid(buff, getstr(ls->source), MAXSRC); | 62 | luaO_chunkid(buff, getstr(ls->source), MAXSRC); |
63 | luaO_pushfstring(L, "%s:%d: %s near `%s'", buff, ls->linenumber, s, token); | 63 | luaO_pushfstring(L, "%s:%d: %s near `%s'\n", buff, ls->linenumber, s, token); |
64 | luaD_throw(L, LUA_ERRSYNTAX); | 64 | luaD_throw(L, LUA_ERRSYNTAX); |
65 | } | 65 | } |
66 | 66 | ||