lua-users home
lua-l archive

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



I tend to think that a valid Lua program would be:
snip 8-<
;
-8 snap

But it isn't:
lua -e "io.stdout:setvbuf 'no'" "test.lua"
lua: test.lua:1: unexpected symbol near ';'
Exit code: 1

Is the BNF code missleading (or wrong), or am I ?

It works just fine for me.

But... are you actually using Lua 5.2?

What does running "lua -v" say?

Ashwin.