From a2156ee3dccaa6a78b806d06c1c81023c398e2b5 Mon Sep 17 00:00:00 2001 From: Reda Al Sulais Date: Mon, 6 Nov 2023 19:01:22 +0300 Subject: [PATCH] full switch to EOF --- packages/parser/src/language/common/common.langium | 2 +- packages/parser/src/language/pie/pie.langium | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/parser/src/language/common/common.langium b/packages/parser/src/language/common/common.langium index 0bf9666b8b6..baf933e0fc4 100644 --- a/packages/parser/src/language/common/common.langium +++ b/packages/parser/src/language/common/common.langium @@ -5,7 +5,7 @@ interface Common { } fragment TitleAndAccessibilities: - ((accDescr=ACC_DESCR | accTitle=ACC_TITLE | title=TITLE) NEWLINE)+ + ((accDescr=ACC_DESCR | accTitle=ACC_TITLE | title=TITLE) EOL)+ ; fragment EOL returns string: diff --git a/packages/parser/src/language/pie/pie.langium b/packages/parser/src/language/pie/pie.langium index a71e7f8523b..2bbf967e1dd 100644 --- a/packages/parser/src/language/pie/pie.langium +++ b/packages/parser/src/language/pie/pie.langium @@ -12,7 +12,7 @@ entry Pie: ; PieSection: - label=PIE_SECTION_LABEL ":" value=PIE_SECTION_VALUE NEWLINE+ + label=PIE_SECTION_LABEL ":" value=PIE_SECTION_VALUE EOL ; terminal PIE_SECTION_LABEL: /"[^"]+"/;