|
I see you put a check to not save 'return' in readline history. Cool, thanks.
But it still doesn't handle expressions in parenthesis.
Lua 5.3.1 Copyright (C) 1994-2015 Lua.org, PUC-Rio
> (1 +
>> 1)
>>
or this should print XY
Lua 5.3.1 Copyright (C) 1994-2015 Lua.org, PUC-Rio
> ("x"..
>> "y"):upper()
>
The patch I had previously suggested does not have this flaw.
http://lua-users.org/lists/lua-l/2014-12/msg00336.html