Skip to content

Commit df92231

Browse files
committed
temporary removal of record-nokeyword
1 parent a15243c commit df92231

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

javaDSL/src/main/grammars/de/monticore/java/JavaDSL.mc4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ scope(shadowing) RecordDeclaration extends TypeDeclaration
190190
;
191191

192192
// TODO: "record" is a contextual keyword, but setting it to nokeyword creates conflicts with MethodDeclaration
193-
nokeyword "record";
193+
// -> might need to be fixed in MontiCore itself
194+
//nokeyword "record";
194195

195196
RecordHeader
196197
= "(" (RecordComponent || ",")* ")"

0 commit comments

Comments
 (0)