Bug in NodeInfo for CTranslUnit

Erik de Castro Lopo erikd at mega-nerd.com
Thu Feb 26 04:50:07 EST 2009


Benedikt Huber wrote:

> thanks for the report (http://www.sivity.net/projects/language.c/ticket/32 
> ).

So I should enter bugs there in future?


> The reason for this 'bug' is that the first token of the translation  
> unit is not in 'test.c' but some system header. We could change the  
> file of CTranslUnit anyway, it agree that it is more appropriate. But  
> I guess it will need a rather ugly 'special case' hack,

Well its either an ugly hack in your code or an ugly hack in my
code :-).

Cheers,
Erik
-- 
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"The day Microsoft makes something that doesn't suck is probably the
day they start making vacuum cleaners." -- Ernst Jan Plugge



More information about the Language-c mailing list