>>> myrkraverk@... seems to think that:
>Berndl, Klaus writes:
> > Hi,
> >
> > for all of these stuff you have to deal with the semantic library.
> > Concerning content parsing of C++ ECB is 100% based onto this
> > library. there is an own mailing-list cedet-semantic@...
> > (i have already forwarded your question to this group....
>
>K, I've just subscribed, and I checked the archives on sf.net and
>didn't see it, in fact, the archives show only posts up to Aug 22nd or
>so ;/
>
> > BTW: If i remember right there was long time ago a thread about this topic
> > in the semantic mailing list.
>
>I tried to search it, but didn't find any references to it. Maybe I
>didn't search hard enaugh?
>
>Anyway, if there isn't any Qt support for semantic, what would I look
>at to add it?
[ ... ]
Hi,
The thread in question may have been on cedet-devel. I don't
recall specifically.
There is currently only one QTism in semantic 1.4 which is a "slot"
keyword in class definitions.
To add it, look in the c.bnf file in semantic. The grammar
definition is there. You can adjust the grammar, and then
recompile from the .bnf file using C-c C-c. This process is
described in more detail in the manual.
Another option it to extend `semantic-flex-extensions' to identify
QT extensions and convert them into one other token (or remove them
completely). (See the doc for more.)
My hope for future versions of semantic is to make the process of
adding "macro" type things into semantic easier, but at the moment
there is no official simplification of support. In the upcoming
semantic 2.0 beta, it would be possible to write a custom lexer
extension to do QT macro expansions with greater ease.
Eric
--
Eric Ludlam: zappo@..., eric@...
Home: http://www.ludlam.net Siege: http://www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: http://www.gnu.org
|