Merge pull request #1544 from parrt/minor-internal-codegen-tweaks
fix some typos Sam noticed.
This commit is contained in:
commit
ab00880c05
|
@ -400,7 +400,7 @@ public class OutputModelController {
|
||||||
public List<SrcOp> wildcard(GrammarAST ast, GrammarAST labelAST) {
|
public List<SrcOp> wildcard(GrammarAST ast, GrammarAST labelAST) {
|
||||||
List<SrcOp> ops = delegate.wildcard(ast, labelAST);
|
List<SrcOp> ops = delegate.wildcard(ast, labelAST);
|
||||||
for (CodeGeneratorExtension ext : extensions) {
|
for (CodeGeneratorExtension ext : extensions) {
|
||||||
ops = ext.set(ops);
|
ops = ext.wildcard(ops);
|
||||||
}
|
}
|
||||||
return ops;
|
return ops;
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,6 +33,7 @@ import org.antlr.v4.codegen.model.SemPred;
|
||||||
import org.antlr.v4.codegen.model.SrcOp;
|
import org.antlr.v4.codegen.model.SrcOp;
|
||||||
import org.antlr.v4.codegen.model.StarBlock;
|
import org.antlr.v4.codegen.model.StarBlock;
|
||||||
import org.antlr.v4.codegen.model.TestSetInline;
|
import org.antlr.v4.codegen.model.TestSetInline;
|
||||||
|
import org.antlr.v4.codegen.model.Wildcard;
|
||||||
import org.antlr.v4.codegen.model.decl.Decl;
|
import org.antlr.v4.codegen.model.decl.Decl;
|
||||||
import org.antlr.v4.codegen.model.decl.RuleContextDecl;
|
import org.antlr.v4.codegen.model.decl.RuleContextDecl;
|
||||||
import org.antlr.v4.codegen.model.decl.TokenDecl;
|
import org.antlr.v4.codegen.model.decl.TokenDecl;
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
* can be found in the LICENSE.txt file in the project root.
|
* can be found in the LICENSE.txt file in the project root.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.antlr.v4.codegen;
|
package org.antlr.v4.codegen.model;
|
||||||
|
|
||||||
import org.antlr.v4.codegen.model.MatchToken;
|
import org.antlr.v4.codegen.OutputModelFactory;
|
||||||
import org.antlr.v4.tool.ast.GrammarAST;
|
import org.antlr.v4.tool.ast.GrammarAST;
|
||||||
|
|
||||||
public class Wildcard extends MatchToken {
|
public class Wildcard extends MatchToken {
|
Loading…
Reference in New Issue