Skip to content

Commit

Permalink
fixed bug in antlr csharp generator outputing AST related variables w…
Browse files Browse the repository at this point in the history
…hen tracing is enabled
  • Loading branch information
drslump committed Nov 2, 2013
1 parent 54c252f commit 3e2895c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file modified lib/antlr-2.7.5/antlr-2.7.5.jar
Binary file not shown.
2 changes: 2 additions & 0 deletions lib/antlr-2.7.5/antlr/CSharpCodeGenerator.java
Expand Up @@ -3088,7 +3088,9 @@ else if (rblk.getDefaultErrorHandler())
}

if ( grammar.debuggingOutput || grammar.traceRules) {
if (grammar.buildAST) {
println("ASTPair.PutInstance(currentAST);");
}
tabs--;
println("}");
println("finally");
Expand Down

0 comments on commit 3e2895c

Please sign in to comment.