Adding a Parser: SN_LOCAL_VAR_DEF ?

Keogh, Craig keogh@rlmsystems.com.au
Thu Aug 9 16:33:00 GMT 2001


Greetings,

I am writing an Ada parser for Source Navigator. Everything is working well
except for one thing. Local Variable definitions.

If I call sn_insert_symbol with SN_GLOB_VAR_DEF (global variable), it works
perfectly:
- it is highlighted in the editor window
- when the cursor is over the variable, it appears in the drop down box
- xref'ing works

But if I use SN_LOCAL_VAR_DEF in exactly the same way, none of the above
happen.

Yes, "generate refences to local variables" in project preferences is ON.

Is this a problem with my parser or source navigator? Has anyone else
experienced this?


Craig Keogh



More information about the Sourcenav mailing list