hi,
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 i=
f
code folding can be done in emacs too with them just like VS.Net). any hel=
p
will be appreciated. i am taking a look at the wisent-csharp* files to see
if i can do something myself too.
thanks
Amit
On 3/14/06, Eric M. Ludlam <eric@...> wrote:
>
> >>> "Amit Lath" <amitlath@...> seems to think that:
> >Hi,
> >
> >the semantic webpage says that semantic supports c#. i am using ECB wit=
h
> >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.
> >
> >thanks
> >Amit
> >
> >ps: which file does semantic use to parse c#?
> [ ... ]
>
> Hi,
>
> 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
>
> --
> Eric Ludlam: zappo@..., eric@...=
m
> Home: http://www.ludlam.net Siege: http://www.siege-engine.com
> Emacs: http://cedet.sourceforge.net GNU: http://www.gnu.org
>
|