thanks for the information.
#region and #endregion are preprocessor directives. they are used for a code folding feature provided by microsoft Visual Studio .Net. as fas as i am aware, thats all they are there for and are completely ignored by the csharp compiler.
i just need them to be ignored when semantic parses the file (i dont know if code folding can be done in emacs too with them just like VS.Net). any help will be appreciated. i am taking a look at the wisent-csharp* files to see if i can do something myself too.
On 3/14/06, Eric M. Ludlam <email@example.com> wrote:
>>> "Amit Lath" <firstname.lastname@example.org> seems to think that:
>the semantic webpage says that semantic supports c#. i am using ECB with
>emacs 21.3 which i believe uses semantic in the background (?).
>when i have the c# #region and #endregion preprocessor directives, the ecb
>parser fails to parse the file. how can i add support for these directives
>into semantic, so that ecb correctly handles them.
>ps: which file does semantic use to parse c#?
[ ... ]
The C# support was written by David Shilvock and is in
cedet/contrib/wisent-csharp*. I don't know C#, but if you let me know
what a #region is, I can get you started.
Eric Ludlam: email@example.com, firstname.lastname@example.org
Emacs: http://cedet.sourceforge.net GNU: www.gnu.org