[cfe-dev] Assert in lexer

Sebastian Redl sebastian.redl at getdesigned.at
Sun Jan 4 12:25:49 PST 2009


John Graley wrote:
> A little more info:
>  
> AnnotatePreviousCachedTokens() is called from AnnotateCachedTokens()
> which is called from TryAnnotateTypeOrScopeToken() in the last clause
> (dealing with C++ scope followed by non-typename).
>  
> AnnotatePreviousCachedTokens() requires the range of the supplied
> annotation token to end at the last pasrsed token. This range is being
> set from the source range of the C++ scope.
>  
I can reproduce the bug, but this stuff is Argiris's baby, and he's
rarely available on weekends.

Sebastian



More information about the cfe-dev mailing list