Small change

This commit is contained in:
Linus K 2022-10-24 04:44:54 +02:00
parent 2060e08f86
commit 5760fa2d4c

View File

@ -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;