fix cut-paste error (Coverity)

This commit is contained in:
Terence Parr 2013-08-31 16:47:33 -07:00
parent 21248a42ca
commit 8bff26d758
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ public class RuleCollector extends GrammarTreeVisitor {
if ( locals!=null ) {
r.locals = ScopeParser.parseTypedArgList(locals, locals.getText(), g.tool.errMgr);
r.locals.type = AttributeDict.DictType.LOCAL;
r.locals.ast = returns;
r.locals.ast = locals;
}
for (GrammarAST a : actions) {