lua-users home
lua-l archive

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


Jon Akhtar <akhtar@mindspring.com> writes:

> -- ambiguous
> local f("foo"):bar()
>
> -- ok
> local f
> ("foo"):bar()
>
> Right now the parser checks for a newline IIRC to tell the difference
> between the ( of a function call and the ( of a new expression.
> Significant white space,

An idea ugly enough that "right now" means only "up to Lua 5.1".

-- 
David Kastrup