tightened up checking the STAR in multiplicativeExpression. Possible source of

a NPE reported by Lars.
This commit is contained in:
Oliver Burn 2002-01-11 10:47:02 +00:00
parent d16d3f310d
commit e3c3cdcea3
1 changed files with 1 additions and 1 deletions

View File

@ -750,7 +750,7 @@ additiveExpression
// multiplication/division/modulo (level 2)
multiplicativeExpression
: unaryExpression ((s:STAR^ | DIV^ | MOD^ ) {ver.verifyWSAround(s.getLine(), s.getColumn() + 1, s.getText());} unaryExpression)*
: unaryExpression ((s:STAR^ {ver.verifyWSAround(s.getLine(), s.getColumn() + 1, s.getText());} | DIV^ | MOD^ ) unaryExpression)*
;
unaryExpression