Small change
This commit is contained in:
parent
2060e08f86
commit
5760fa2d4c
@ -76,9 +76,9 @@ staticclassname: STATICCLASSNAME;
|
|||||||
|
|
||||||
statement: whileinterface | methodcallinterface | returninterface | javainternalexpressioninterface | forstmt | ifstmt | BLOCK | EMPTYSTMT | LOCALVARDECL | ASSIGN | LOCALVAR;
|
statement: whileinterface | methodcallinterface | returninterface | javainternalexpressioninterface | forstmt | ifstmt | BLOCK | EMPTYSTMT | LOCALVARDECL | ASSIGN | LOCALVAR;
|
||||||
|
|
||||||
ifstmt: IFSTMT')''{'( NEWLINE )*'}';
|
ifstmt: IFSTMT ( syntaxtreenode )* ')''{'( syntaxtreenode )*'}';
|
||||||
|
|
||||||
forstmt: FORSMT')''{'( NEWLINE )*'}';
|
forstmt: FORSMT ( syntaxtreenode )* ')''{'( syntaxtreenode )*'}';
|
||||||
|
|
||||||
javainternalexpressioninterface: UNARYEXPR;
|
javainternalexpressioninterface: UNARYEXPR;
|
||||||
|
|
||||||
@ -90,9 +90,9 @@ methodcallinterface: METHODCALL | THISCALL | SUPERCALL | NEWCLASS;
|
|||||||
|
|
||||||
whileinterface: whilestmt | dostmt;
|
whileinterface: whilestmt | dostmt;
|
||||||
|
|
||||||
dostmt: DOSTMT ( NEWLINE )*'}' (NEWLINE)* whilestmt ;
|
dostmt: DOSTMT ( syntaxtreenode )*'}' WHILESTMT ( syntaxtreenode )+')';
|
||||||
|
|
||||||
whilestmt: WHILESTMT')''{'( NEWLINE)*'}';
|
whilestmt: WHILESTMT')''{'( syntaxtreenode)*'}';
|
||||||
|
|
||||||
assignleft: assigntofield | ASSIGNLEFTSIDE;
|
assignleft: assigntofield | ASSIGNLEFTSIDE;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user