File tree Expand file tree Collapse file tree
java/cz/neumimto/nts/bytecode Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ grammar nts;
33script : statement_list EOF ;
44
55statement_list : statement terminator
6- | statement_list terminator
6+ | statement_list statement terminator
77 | terminator
88 ;
99
Original file line number Diff line number Diff line change @@ -170,11 +170,6 @@ public ScriptContext visitType_double(ntsParser.Type_doubleContext ctx) {
170170 return scriptContext ;
171171 }
172172
173- @ Override
174- public ScriptContext visitAssignment_values (ntsParser .Assignment_valuesContext ctx ) {
175- return super .visitAssignment_values (ctx );
176- }
177-
178173 protected boolean parseBoolean (String text ) {
179174 if (text .equalsIgnoreCase ("t" ) || text .equalsIgnoreCase ("true" )) {
180175 return true ;
@@ -199,11 +194,6 @@ public ScriptContext visitVariable_reference(ntsParser.Variable_referenceContext
199194 return scriptContext ;
200195 }
201196
202- @ Override
203- public ScriptContext visitTerminal (TerminalNode node ) {
204- return super .visitTerminal (node );
205- }
206-
207197 @ Override
208198 public ScriptContext visitRval (ntsParser .RvalContext ctx ) {
209199 String text = ctx .getText ();
You can’t perform that action at this time.
0 commit comments