[cfe-dev] "Fixes" for two crashes, rant on Tok.getIdentifierInfo() and two more bugs

Chris Lattner clattner at apple.com
Fri Jan 4 08:19:39 PST 2008


>>
>> This means we're stuck with the parser having to handle these as two
>> tokens, sorry.
>
> Moreover I distinctly remember the justification for two tokens was
> to enable macro expansion of the second part; this was a specific
> requirement Apple (Stan) had.

Right, I was planning on lexing them as two tokens (allowing each to  
be macro expanded) and applying 'magic' to return them as one token  
from the lexer.  The problem being that there is only space for one  
location info.

-Chris



More information about the cfe-dev mailing list