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.

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to