Merge pull request #1544 from parrt/minor-internal-codegen-tweaks

fix some typos Sam noticed.
This commit is contained in:
Terence Parr 2016-12-22 09:45:26 -08:00 committed by GitHub
commit ab00880c05
3 changed files with 4 additions and 3 deletions

View File

@ -400,7 +400,7 @@ public class OutputModelController {
public List<SrcOp> wildcard(GrammarAST ast, GrammarAST labelAST) {
List<SrcOp> ops = delegate.wildcard(ast, labelAST);
for (CodeGeneratorExtension ext : extensions) {
ops = ext.set(ops);
ops = ext.wildcard(ops);
}
return ops;
}

View File

@ -33,6 +33,7 @@ import org.antlr.v4.codegen.model.SemPred;
import org.antlr.v4.codegen.model.SrcOp;
import org.antlr.v4.codegen.model.StarBlock;
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.RuleContextDecl;
import org.antlr.v4.codegen.model.decl.TokenDecl;

View File

@ -4,9 +4,9 @@
* 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;
public class Wildcard extends MatchToken {