On second thought, these nodes don't really need an image since they're just operator wrappers

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3456 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2005-04-27 23:22:55 +00:00
parent a104045fd7
commit 5d24154efb
2 changed files with 4 additions and 4 deletions

View File

@ -1534,8 +1534,8 @@ void ShiftExpression() :
AdditiveExpression() {checkForDiscard(jjtThis);}
(
( "<<" {jjtThis.setImage("<<");jjtThis.setUnDiscardable();}
| RSIGNEDSHIFT() {jjtThis.setImage("<<");jjtThis.setUnDiscardable();}
| RUNSIGNEDSHIFT() {jjtThis.setImage("<<");jjtThis.setUnDiscardable();}
| RSIGNEDSHIFT() {jjtThis.setUnDiscardable();}
| RUNSIGNEDSHIFT() {jjtThis.setUnDiscardable();}
) AdditiveExpression() )*
}

View File

@ -2777,10 +2777,10 @@ jjtn000.setModifiers(modifiers);
jj_la1[69] = jj_gen;
if (jj_2_20(1)) {
RSIGNEDSHIFT();
jjtn000.setImage("<<");jjtn000.setUnDiscardable();
jjtn000.setUnDiscardable();
} else if (jj_2_21(1)) {
RUNSIGNEDSHIFT();
jjtn000.setImage("<<");jjtn000.setUnDiscardable();
jjtn000.setUnDiscardable();
} else {
jj_consume_token(-1);
throw new ParseException();