[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Backslash-newline escape as a line continuation rather than a newline?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 9 Apr 2010 08:51:01 -0300
> 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