switch to NEWLINE+ instead of EOF until next release of langium

This commit is contained in:
Reda Al Sulais
2023-11-05 02:11:04 +03:00
parent c62be1bb45
commit f01971b67c
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ interface Common {
} }
fragment TitleAndAccessibilities: fragment TitleAndAccessibilities:
((accDescr=ACC_DESCR | accTitle=ACC_TITLE | title=TITLE) EOL)+ ((accDescr=ACC_DESCR | accTitle=ACC_TITLE | title=TITLE) NEWLINE)+
; ;
fragment EOL returns string: fragment EOL returns string:

View File

@@ -12,7 +12,7 @@ entry Pie:
; ;
PieSection: PieSection:
label=PIE_SECTION_LABEL ":" value=PIE_SECTION_VALUE EOF label=PIE_SECTION_LABEL ":" value=PIE_SECTION_VALUE NEWLINE+
; ;
terminal PIE_SECTION_LABEL: /"[^"]+"/; terminal PIE_SECTION_LABEL: /"[^"]+"/;