lua-users home
lua-l archive

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


Hi,

I noticed a slight syntax inconsistency in Lua 5: The parser accepts

print "hello"

but fails to compile

print 5

Is it intended that " print "hello" " without brackets is syntactically
correct?  Or is it a bug?

Greets

Andreas
--
"Remember: It's nice to be important but it's more important to be nice!"