[clang-tools-extra] 86bc639 - [pseudo] Add the missing ; terminal for module-declaration rule.
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Tue May 17 06:16:24 PDT 2022
Author: Haojian Wu
Date: 2022-05-17T15:14:46+02:00
New Revision: 86bc6399a063439f2c58f9eed3ee6bf2d9276bf6
URL: https://github.com/llvm/llvm-project/commit/86bc6399a063439f2c58f9eed3ee6bf2d9276bf6
DIFF: https://github.com/llvm/llvm-project/commit/86bc6399a063439f2c58f9eed3ee6bf2d9276bf6.diff
LOG: [pseudo] Add the missing ; terminal for module-declaration rule.
Added:
Modified:
clang-tools-extra/pseudo/lib/cxx.bnf
Removed:
################################################################################
diff --git a/clang-tools-extra/pseudo/lib/cxx.bnf b/clang-tools-extra/pseudo/lib/cxx.bnf
index c740f742436dc..3a4048f657570 100644
--- a/clang-tools-extra/pseudo/lib/cxx.bnf
+++ b/clang-tools-extra/pseudo/lib/cxx.bnf
@@ -512,7 +512,7 @@ linkage-specification := EXTERN string-literal { declaration-seq_opt }
linkage-specification := EXTERN string-literal declaration
# gram.module
-module-declaration := export-keyword_opt module-keyword module-name module-partition_opt
+module-declaration := export-keyword_opt module-keyword module-name module-partition_opt ;
module-name := module-name-qualifier_opt IDENTIFIER
module-partition := : module-name-qualifier_opt IDENTIFIER
module-name-qualifier := IDENTIFIER .
More information about the cfe-commits
mailing list