[cfe-dev] Problem in locations

Chris Lattner clattner at apple.com
Thu Aug 13 08:43:06 PDT 2009


On Aug 13, 2009, at 8:40 AM, Chris Lattner wrote:

>
> On Aug 12, 2009, at 11:51 PM, Abramo Bagnara wrote:
>>> What do you mean?  Escaped newline can occur anywhere in a token,  
>>> the
>>> start of the token isn't special:
>>>
>>> foo\
>>> bar??/
>>> baz
>>>
>>> is one token.
>>
>> Of course, but I believe that a leading ignorable should be ignored,
>> not
>> included.
>
> You're right, the implementation is more efficient this way though.

Rather you're right that it "could" ignore the leading escape, but I  
don't see any reason that clients should depend on this.

-Chris



More information about the cfe-dev mailing list