Re: [CEDET-devel] parsing #include in a function's body
Brought to you by:
zappo
From: Sergei D. <sj...@ya...> - 2010-03-09 12:02:43
|
07.03.2010 18:46, Eric M. Ludlam: > Hi Sergei, > > I see why this would be useful. Unfortunately, this isn't something > currently supported, and the current parsing setup doesn't actually open > includes. Instead, files are organized into trees of dependencies based > on the includes at the top level, maximizing performance by parsing such > things only once. > > To resolve this, we'd either have to re-write the parse to include > includes, or add logic into the local context parser to also handle > includes of this style. > > If you wanted to try fixing this, semantic-ctxt.el has > semantic-get-local-variables, which is likely what you want. An > override function can be written for C/C++ to do what you want. > > I can provide more assistance if needed. > > Eric > Hm... I'm a beginner and I use emacs about one month and don't know lisp. Therefore I may need to be very detailed instructions in order to do so... But I want this feature, so can try if you assistance me. Best regards, Sergei D. |