From aa3b76210c3955fcd510f7ec2707995359f93ae8 Mon Sep 17 00:00:00 2001 From: Rex Jaeschke Date: Sat, 25 May 2024 12:18:04 -0400 Subject: [PATCH] Correct 2xgrammar rules for compilation unit name --- standard/lexical-structure.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/standard/lexical-structure.md b/standard/lexical-structure.md index 7798388a1..a2ff760d8 100644 --- a/standard/lexical-structure.md +++ b/standard/lexical-structure.md @@ -1488,12 +1488,12 @@ fragment PP_Line_Indicator ; fragment PP_Compilation_Unit_Name - : '"' PP_Compilation_Unit_Name_Character+ '"' + : '"' PP_Compilation_Unit_Name_Character* '"' ; fragment PP_Compilation_Unit_Name_Character // Any Input_Character except " - : ~('\u000D' | '\u000A' | '\u0085' | '\u2028' | '\u2029' | '#') + : ~('\u000D' | '\u000A' | '\u0085' | '\u2028' | '\u2029' | '"') ; ```