lua-users home
lua-l archive

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


> Couldn't Lua's lexer, while reading a "-delimited string, just
> squash an embedded "<ws>..<ws>" sequence without the parser ever
> even knowing about it (where <ws> means [ \t\n])...?

The expression "1".."2"^3 would get a different meaning (1728, instead
of "18"). The same for -"1".."2" (subtle difference) or #"3".."5".

-- Roberto