Moved the reference checking to java.g
This commit is contained in:
parent
a54d892da1
commit
3335cdeb4d
|
|
@ -853,7 +853,7 @@ postfixExpression
|
|||
( // qualified id (id.id.id.id...) -- build the name
|
||||
DOT^ ( IDENT {ver.reportReference(sFirstIdent);}
|
||||
| "this"
|
||||
| "class"
|
||||
| "class" {ver.reportReference(sFirstIdent);}
|
||||
| newExpression
|
||||
| "super" // ClassName.super.field
|
||||
)
|
||||
|
|
|
|||
|
|
@ -408,7 +408,7 @@ primaryExpression
|
|||
(i2:IDENT { firstExprIdent = null;}
|
||||
| arrayIndex
|
||||
| "this"
|
||||
| "class" { if (firstExprIdent != null) { ver.reportReference(firstExprIdent.getText()); } }
|
||||
| "class"
|
||||
| #( "new" IDENT elist )
|
||||
| "super"
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue