[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: BNF Syntax in Lua Reference Guide 5.2 broken
- From: "Ashwin Hirschi" <lua-l@...>
- Date: Sat, 14 Jul 2012 17:28:08 +0200
I tend to think that a valid Lua program would be:
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?