forked from jasder/antlr
Allow greedy option for blocks in both lexer and parser
This commit is contained in:
parent
025cc6187a
commit
b0a4200a08
|
@ -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> */
|
||||
|
|
Loading…
Reference in New Issue