From eca9fa02d2887d06cee5e2f742f7e3031ac76a51 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 3 Jun 2005 17:16:16 -0300 Subject: small improvement --- lua.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua.c') diff --git a/lua.c b/lua.c index 31564ce8..8d2671a0 100644 --- a/lua.c +++ b/lua.c @@ -1,5 +1,5 @@ /* -** $Id: lua.c,v 1.143 2005/05/16 21:19:00 roberto Exp roberto $ +** $Id: lua.c,v 1.144 2005/05/17 19:49:15 roberto Exp roberto $ ** Lua stand-alone interpreter ** See Copyright Notice in lua.h */ @@ -149,7 +149,7 @@ static const char *get_prompt (lua_State *L, int firstline) { static int incomplete (lua_State *L, int status) { if (status == LUA_ERRSYNTAX && - strstr(lua_tostring(L, -1), "") != NULL) { + strstr(lua_tostring(L, -1), LUA_QL("")) != NULL) { lua_pop(L, 1); return 1; } -- cgit v1.2.3-55-g6feb