We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04e1541 commit eaa189cCopy full SHA for eaa189c
javaDSL/src/main/grammars/de/monticore/java/JavaDSL.mc4
@@ -374,10 +374,12 @@ ClassCreatorRest
374
// Add support for 'var'
375
@Override
376
LocalVariableDeclaration
377
- = MCModifier* ([key("var")] | MCType) (VariableDeclarator || ",")+ ;
+ = MCModifier* (["var"] | MCType) (VariableDeclarator || ",")+ ;
378
379
380
-LambdaParameter implements Variable = ([key("var")] | MCType)? Name;
+LambdaParameter implements Variable = (["var"] | MCType)? Name;
381
+
382
+nokeyword "var";
383
384
/*
385
* TODO Remove this
0 commit comments