You need to run 'make' in the 'contrib' area to build the loaddef file. Make at the top-level doesn't include building any of the contrib area code.
On 04/30/2014 01:25 PM, Vincent Semeria wrote:
Yes the ternary ? works now, thanks.
I tried to load cedet-contrib-load.el and it fails on this last line
(load "contrib-loaddefs" nil t)
This contrib-loaddefs is nowhere in cedet directories.
I understand the copyright issues, however the author of
cedet-contrib-load.el is no other than yourself :)
On Sat, Apr 19, 2014 at 4:08 AM, Eric M. Ludlam <email@example.com<mailto:firstname.lastname@example.org>> wrote:
On 03/29/2014 01:11 PM, Vincent Semeria wrote:
In the attached file which contains a simple c++ function,
1) run M-x semantic-calculate-scope to get a context
2) run M-: (semantic-get-local-variables)
It fails to detect the last variable :
const CSRMarketData& context = fx ? param : contextFx;
Sorry for the delay.
The parser didn't support that ternary ? expression, so I added
support and checked it into the CEDET repository with a new test.
Another question not related, I couldn't manage to use semantic
When I open a C# file, (semantic-active-p) returns nil.
Is there some setup to do to activate C# in semantic ?
The C# support was contributed by someone who could not assign
copyright, so it is in the "contrib" area.
You need to use the cedet-contrib-load.el file to load in those
systems. Unfortunately, they are not well supported.