I added output=AST; to the grammar options at the top of cs.g to print out the tree.
options
{language = 'CSharp2';
output=AST;
}
When I build up the project after the change I got this message:
The command ""C:\Program Files\Java\jre6\bin\java" -cp "C:\Program Files\Java\jre6\lib\antlr-3.3.jar" org.antlr.Tool -message-format vs2005 cs.g -make -Xconversiontimeout 2500 -Xmultithreaded" exited with code 3. C:\Users\AMD\Desktop\Complier\antlrcsharp100620\UnitTest\UnitTest.csproj 68 24 UnitTest
Am I missing something here?