[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: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 8 Apr 2010 15:25:38 -0300
> Couldn't the lexer recognize any instance of two string-enclosing
> sequences around a concatenation operator? (This would also result in the
> ability to avoid constant folding by putting parentheses around a string.)
This was discussed last time as well. This solution requires unbounded
lookahead (and is a parser task, not a lexical task). Consider
a= ("hello".."world".."from".."Lua")
versus
a= ("hello".."world".."from".._VERSION)