cedet-semantic

 [cedet-semantic] C++ Parsing Problem From: Arne Schmitz - 2008-01-12 21:49:50 Attachments: Message as HTML ```Try out this with semantic: class foo { int f() { std::vector &a, &b, &c; } std::vector &a, &b, &c; }; The second declaration is marked as invalid, although it isn't. Cheers, Arne =2D-=20 Dipl.-Inform. Arne Schmitz Phone +49 (0)241 80-21817 Computer Graphics Group Fax +49 (0)241 80-22899 RWTH Aachen University http://www.rwth-graphics.de Ahornstrasse 55, 52074 Aachen, Germany ```
 Re: [cedet-semantic] C++ Parsing Problem From: Matthias Pfeifer - 2008-01-13 20:32:34 Attachments: Message as HTML ```On Sat Jan 12, 2008 at 10:49:36PM +0100, Arne Schmitz wrote: > Try out this with semantic: >=20 > class foo > { > int f() > { > std::vector &a, &b, &c; > } >=20 > std::vector &a, &b, &c; > }; >=20 > The second declaration is marked as invalid, although it isn't. Please, for the non-gurus: What does it mean that this is marked as invalid? Which cedet-functionality are you refering to? What cedet emmited message gives you the idea that the second vector is invalid? matthias ```
 Re: [cedet-semantic] C++ Parsing Problem From: Eric M. Ludlam - 2008-01-13 21:24:06 ```>>> Matthias Pfeifer seems to think that: [ ... ] >On Sat Jan 12, 2008 at 10:49:36PM +0100, Arne Schmitz wrote: >> Try out this with semantic: >>=20 >> class foo >> { >> int f() >> { >> std::vector &a, &b, &c; >> } >>=20 >> std::vector &a, &b, &c; >> }; >>=20 >> The second declaration is marked as invalid, although it isn't. > >Please, for the non-gurus: What does it mean that this is marked as invalid? >Which cedet-functionality are you refering to? What cedet emmited >message gives you the idea that the second vector is invalid? > >matthias [ ... ] If you turn on "global-semantic-show-unmatched-syntax-mode", it will underline in red anything it cannot parse. In this example, the first line isn't read because semantic doesn't parse function bodies. The second is red due to some bug in the parse I have not yet had a chance to look into. If your version of Emacs is too old, or you use XEmacs perhaps, it cannot underline that stuff in red, so you need to customize semantic-unmatched-syntax-face to get something more appropriate. Eric -- Eric Ludlam: eric@... Siege: http://www.siege-engine.com Emacs: http://cedet.sourceforge.net ```
 Re: [cedet-semantic] C++ Parsing Problem From: Eric M. Ludlam - 2008-01-18 18:41:38 ```Howdy, I checked in a fix for this parser error. The first one that wasn't underlined still isn't parsing at all... but on purpose. Good Luck Eric >>> Arne Schmitz seems to think that: >Try out this with semantic: > >class foo >{ > int f() > { > std::vector &a, &b, &c; > } > > std::vector &a, &b, &c; >}; [ ... ] -- Eric Ludlam: eric@... Siege: http://www.siege-engine.com Emacs: http://cedet.sourceforge.net ```