lua-users home
lua-l archive

Re: Ternary operator patch

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


Tony Finch <dot@dotat.at> writes:
> A function call statement now maximally munches all trailing argument-like
> clauses - bracketed expressions, table constructors, and strings - and is
> terminated by a keyword, a variable name, or a semicolon. Newlines are now
> treated the same as other white space.
Nice. I was always vaguely nervous about that case... (sometimes I find
myself wanting to put the parens down below...)
Are there any gotchas with the new method that are likely to arise in
practice?
-miles
-- 
Love is a snowmobile racing across the tundra. Suddenly it flips over,
pinning you underneath. At night the ice weasels come. --Nietzsche

AltStyle によって変換されたページ (->オリジナル) /