lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> In 5.1work 6, the test at the third line was incorrectly simplified to:
> 
>           strstr(lua_tostring(L, -1), "<eof>") != NULL) {

The intention was to avoid depending on the quote used around "<eof>".
The fix is simple:
          strstr(lua_tostring(L, -1), "near " LUA_QL("<eof>")) != NULL) {

Sorry about that.
--lhf