From: Berndl, Klaus <klaus.berndl@sd...> - 2003-01-29 16:34:24
Forgot to say: All this is in branch v1p4!
From: Berndl, Klaus
Sent: Wednesday, January 29, 2003 5:30 PM
To: 'Eric M. Ludlam'; 'cedet-devel@...'
Cc: markus.schoepflin@...; cedet-semantic@...
Subject: [CEDET-devel] RE: Re: [cedet-semantic] New C++-parser available - was: Lates semantic f rom CVS?
I have checked in new c.bnf with some new parsing features and some
fixes (see below), a newly generated semantic-c.el and also a new tests/test.cpp
which tests latest fixes.
wchar_t and string-sequences like "str" "str" now works.
But the L"string" or L'c' stuff still fails....
Hmm, maybe Eric could fix this best?
> You have added many additional capabilities to the parser now. Are
>you getting the correct types of output in ECB? Occasionally in the
>past I've added support for a stray & or const in type definitions for
>variables. Later, when one of the token->text functions are called,
>it shows up in the wrong place. For C this has been one of the more
>challenging aspects of translating C into a token, then back out
>again. When last I ran tests, it was pretty good, but missing the
>finer points of * and & placement. With all your new template and
>const work it would be good to asses the situation.
Done! You were right, Eric, in the function-arguments correct pointer
counting and const recognizing was disrupted after my latest changes.
This means parsing was ok, but the output was wrong.
Now i have fixed all this and now it works again! Now all the output
from the new parsing capabilities is correct - at least for this i have
> You can easily check what the outputs are with the command
>`semantic-test-all-token->text-functions' while the cursor is on a
>definition in your C code.
Yes, this is a very helpful command for this stuff...
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
Cedet-devel mailing list