use assoc value's token.

This commit is contained in:
Terence Parr 2014-06-30 09:26:02 -07:00
parent 36425dd59c
commit f0ab9b1415
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ public class LeftRecursiveRuleAnalyzer extends LeftRecursiveRuleWalker {
assoc = ASSOC.left;
}
else {
tool.errMgr.toolError(ErrorType.ILLEGAL_OPTION_VALUE, t.getToken(), "assoc", assoc);
tool.errMgr.toolError(ErrorType.ILLEGAL_OPTION_VALUE, t.getOptionAST("assoc").getToken(), "assoc", assoc);
}
}
}