Re: [cedet-semantic] Preprocessing C
Brought to you by:
zappo
From: Michael R. <re...@gm...> - 2009-02-10 18:44:05
|
On Tuesday 10 February 2009 15:25, Marcus Harnisch wrote: > > > Citeing Eric Ludlam: > > > > "You need to add Export.h to your list of headers to derive CPP macros > > from, or just add EXPORT into the general table of symbols. > > > > You can use ede-cpp-root (see commentary) to add a symbol to your > > project. Otherwise, customize > > semantic-lex-c-preprocessor-symbol-file, or > > semantic-lex-c-preprocessor-symbol-map to get going. > > This works. Great! Is there any way we can set this in an ede-cpp-root > project? > I think you need to add something like this to your project: (ede-cpp-root-project "Blah" :spp-table '( ("MACRO_A" . "VALUE_A") ("MACRO_B" . "" )) ) It's described in detail somewhere in the info pages. > > >> Speaking of decoration mode, there is a minor quirk: When I move the > >> mouse over an #include line, the line will be highlighted and I get a > >> button-3 menu. The functions in this menu use point as reference, not > >> the mouse event position. A bit strange, that. > >> > >> This is in XEmacs 21.5.28, BTW. > > > > This should be fixed in recent SVN. At least it works in my XEmacs > > 21.4.17 with cedet SVN from a few months ago. > > Which SVN are you talking about? XEmacs doesn't use SVN and neither > does CEDET, AFAICT. In any case did you mean "fixed in XEmacs" or > "fixed in CEDET"? > Erm, sorry. I meant CVS and Cedet, so I meant "fixed in Cedet" ;) Greets Michael |