[antlr-interest] Problems with Visual Studio 2010 and C#
pragmaik
contact at maik-schmidt.de
Wed Sep 7 06:30:50 PDT 2011
Hi Amelie!
I'm using the same constellation and it works fine (there is a small issue
when using StringTemplate, but you can find a workaround here:
http://antlr.1301665.n2.nabble.com/Problems-with-Tree-Grammars-outputting-Templates-in-C-td6724828.html#a6766948).
The method you are looking for is generated by ANTLR and obviously you have
a rule named 'compileUnit'. One of the big differences between the Java and
the C# version is that you have to specify visibility modifiers for your
rules, that is the compileUnit() method generated from the compileUnit rule
is not public by default. Simply add a 'public' in front of your rule name.
Maik
--
View this message in context: http://antlr.1301665.n2.nabble.com/Problems-with-Visual-Studio-2010-and-C-tp6767744p6767788.html
Sent from the ANTLR mailing list archive at Nabble.com.
More information about the antlr-interest
mailing list