diff --git a/packages/language/src/generated/ast.ts b/packages/language/src/generated/ast.ts index 74fa1707b..98b461285 100644 --- a/packages/language/src/generated/ast.ts +++ b/packages/language/src/generated/ast.ts @@ -366,7 +366,7 @@ export interface EnumField extends AstNode { readonly $type: 'EnumField'; attributes: Array comments: Array - name: RegularID + name: RegularIDWithTypeNames } export const EnumField = 'EnumField'; diff --git a/packages/language/src/generated/grammar.ts b/packages/language/src/generated/grammar.ts index 08656b422..7362416d7 100644 --- a/packages/language/src/generated/grammar.ts +++ b/packages/language/src/generated/grammar.ts @@ -2357,7 +2357,7 @@ export const ZModelGrammar = (): Grammar => loadedZModelGrammar ?? (loadedZModel "terminal": { "$type": "RuleCall", "rule": { - "$ref": "#/rules@46" + "$ref": "#/rules@47" }, "arguments": [] } diff --git a/packages/language/src/zmodel.langium b/packages/language/src/zmodel.langium index 132350bcc..8c0a345f6 100644 --- a/packages/language/src/zmodel.langium +++ b/packages/language/src/zmodel.langium @@ -209,7 +209,7 @@ Enum: EnumField: (comments+=TRIPLE_SLASH_COMMENT)* - name=RegularID (attributes+=DataModelFieldAttribute)*; + name=RegularIDWithTypeNames (attributes+=DataModelFieldAttribute)*; // function FunctionDecl: