change ">" to "..." (from mniip)
This commit is contained in:
parent
ae34c43c66
commit
630216c253
@ -2141,7 +2141,7 @@ int LuaScriptInterface::Command(std::string command)
|
||||
{
|
||||
lastError = luacon_geterror();
|
||||
if(std::string(lastError).find("near '<eof>'")!=-1) //the idea stolen from lua-5.1.5/lua.c
|
||||
lastError = ">";
|
||||
lastError = "...";
|
||||
else
|
||||
lastCode = "";
|
||||
}
|
||||
|
Reference in New Issue
Block a user