>>> Matthias Pfeifer <pfemat@...> 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<int> &a, &b, &c;
>> }
>>=20
>> std::vector<int> &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
|