Re: [cedet-semantic] [CEDET-semantic] Error when parsing macros
Brought to you by:
zappo
From: Eric M. L. <er...@si...> - 2009-04-13 12:43:14
|
>>> bread <bre...@gm...> seems to think that: >Hi, > >I tried to find out what was wrong with the former parsing error i >encountered several days before and I'm sure now it's related to macro >parsing of semantic. This is an example: > [...] >#define dump(a,b) dump(#a, #b) >} > >#endif /* _BREAD_H_ */ > >I wrote a macro in order to use bread::dump(hello, world) instead of >bread::dump("hello", "world"); Hi, There is no accounting for recursive preprocessor macros in the existing Semantic C parser. I see where I can fix this, but I don't have a solution yet. I'll let you know when I can get it fixed. Eric -- Eric Ludlam: er...@si... Siege: www.siege-engine.com Emacs: http://cedet.sourceforge.net |