[antlr-interest] HIDDEN channel for CSharp3

Gian Maria g_giacomello at yahoo.it
Sat Dec 18 12:49:38 PST 2010


If I write HIDDEN on my ".g" grammar file and then I generate my C# code all
is working, but inside C# when I compile the project,  HIDDEN is not
recognized because is declared "Hidden".

Ok I have changed my grammar file with "$channel=Hidden;" (I don't like
this) and so the C# is working, but inside ANTLRWorks the Interpreter
doesn't work correctly.

For compatibility, without looking a C# name style, is possible to modify
the Runtime with HIDDEN in uppercase? I don't wont to modify my runtime,
because is not a good work for further runtimes update.

 

Best regards Gian



More information about the antlr-interest mailing list