Allow greedy option for blocks in both lexer and parser

This commit is contained in:
Sam Harwell 2012-10-14 16:41:44 -05:00
parent 025cc6187a
commit b0a4200a08
1 changed files with 2 additions and 0 deletions

View File

@ -83,9 +83,11 @@ public class Grammar implements AttributeResolver {
}};
public static final Set<String> ParserBlockOptions = new HashSet<String>() {{
add("greedy");
}};
public static final Set<String> LexerBlockOptions = new HashSet<String>() {{
add("greedy");
}};
/** Legal options for terminal refs like ID<assoc=right> */