lua-users home
lua-l archive

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


> BTW: Has anyone noticed that the following:
> 
>   x=1y=2print(x,y)
> 
> is accepted by the lexer as valid Lua code

Why shouldn't it?  It may be ugly but it's valid.
Hence my insistence on reusing the Lua lexer...
--lhf