|
> If you leave out an 'end', the error message isn't very helpful: > > $ lua -e "if x then" > lua: (command line):1: 'end' expected near <eof> OTOH, this works just fine; $ echo 'if x then' | lua - lua: stdin:2: 'end' expected (to close 'if' at line 1) near <eof>