-
- Downloads
Remove support for Parser.filter
This was already only available for parsers that have no AST transformations and don't rely on inlining. My last optimizations to the token lists on the stack have broken this feature (because the new lists are no longer mutable), but we don't use it anyway, so just remove it. Even the original SableCC thesis says "We do not recommend this usage [the Parser.filter method], because it is error prone."
Showing
- src/main/java/org/sablecc/sablecc/GenParser.java 5 additions, 40 deletionssrc/main/java/org/sablecc/sablecc/GenParser.java
- src/main/java/org/sablecc/sablecc/SableCC.java 1 addition, 6 deletionssrc/main/java/org/sablecc/sablecc/SableCC.java
- src/main/java/org/sablecc/sablecc/parser/Parser.java 1 addition, 3 deletionssrc/main/java/org/sablecc/sablecc/parser/Parser.java
- src/main/resources/org/sablecc/sablecc/parser.txt 4 additions, 51 deletionssrc/main/resources/org/sablecc/sablecc/parser.txt
Loading
Please register or sign in to comment