Commit 045a1cb2 authored by anisko_r's avatar anisko_r
Browse files

2002-12-05 Robert Anisko <robert@lrde.epita.fr>

	* src/deterministic/Cpp-det.sdf: Add rules for delimiting nested
	name specifiers.
parent 9f97f865
2002-12-05 Robert Anisko <robert@lrde.epita.fr>
* src/deterministic/Cpp-det.sdf: Add rules for delimiting nested
name specifiers.
2002-12-04 Robert Anisko <robert@lrde.epita.fr>
* src/deterministic/Cpp-det.sdf: Add rules for type identifiers.
......
;; -*- Prcs -*-
(Created-By-Prcs-Version 1 3 2)
(Project-Description "Meta/SDF Grammar for C++")
(Project-Version meta-c++-grammar 0 89)
(Parent-Version meta-c++-grammar 0 88)
(Version-Log "2002-12-04 Robert Anisko <robert@lrde.epita.fr>
(Project-Version meta-c++-grammar 0 90)
(Parent-Version meta-c++-grammar 0 89)
(Version-Log "2002-12-05 Robert Anisko <robert@lrde.epita.fr>
* src/deterministic/Cpp-det.sdf: Add rules for type identifiers.
Use prefer to make the rules in this module override the original
rules of the C++ grammar.")
* src/deterministic/Cpp-det.sdf: Add rules for delimiting nested
name specifiers.")
(New-Version-Log "")
(Checkin-Time "Wed, 04 Dec 2002 21:58:58 +0100")
(Checkin-Time "Thu, 05 Dec 2002 19:27:28 +0100")
(Checkin-Login anisko_r)
(Populate-Ignore
(
......@@ -81,7 +80,7 @@
)
(Project-Keywords)
(Files
(ChangeLog (meta-c++-grammar/0_ChangeLog 1.86 640))
(ChangeLog (meta-c++-grammar/0_ChangeLog 1.87 640))
(Makefile.am (meta-c++-grammar/f/34_Makefile.a 1.2 640))
(TODO (meta-c++-grammar/f/27_TODO 1.2 640))
(README (meta-c++-grammar/g/37_README 1.1 644))
......@@ -188,7 +187,7 @@
(src/grammar/UsingDeclarations.sdf (meta-c++-grammar/b/28_UsingDecla 1.4 640))
(src/grammar/UsingDirectives.sdf (meta-c++-grammar/b/29_UsingDirec 1.5 640))
(src/deterministic/Cpp-det.sdf (meta-c++-grammar/g/38_Cpp-det.sd 1.3 644))
(src/deterministic/Cpp-det.sdf (meta-c++-grammar/g/38_Cpp-det.sd 1.4 644))
(src/deterministic/Makefile.am (meta-c++-grammar/g/39_Makefile.a 1.1 644))
(test/Makefile.am (meta-c++-grammar/f/45_Makefile.a 1.3 640))
......
......@@ -18,6 +18,7 @@ exports
"/*[cl]*/" -> LAYOUT { reject } %% ClassName
"/*[ns]*/" -> LAYOUT { reject } %% OriginalNamespaceName
"/*[tn]*/" -> LAYOUT { reject } %% TypedefName
"/*[dss]*/" -> LAYOUT { reject } %% DeclSpecifierSeq
"/*[nns]*/" -> LAYOUT { reject } %% NestedNameSpecifier
"/*[uid]*/" -> LAYOUT { reject } %% UnqualifiedId
"/*[qid]*/" -> LAYOUT { reject } %% QualifiedId
......@@ -25,6 +26,7 @@ exports
"/*[!cl]*/" -> LAYOUT { reject }
"/*[!ns]*/" -> LAYOUT { reject }
"/*[!tn]*/" -> LAYOUT { reject }
"/*[!dss]*/" -> LAYOUT { reject }
"/*[!nns]*/" -> LAYOUT { reject }
"/*[!uid]*/" -> LAYOUT { reject }
"/*[!qui]*/" -> LAYOUT { reject }
......@@ -37,6 +39,10 @@ exports
"/*[qid]*/" "::" TemplateId "/*[!qid]*/" -> QualifiedId { prefer }
"/*[nns]*/" NestedNameSpecifier "/*[!nns]*/" -> NestedNameSpecifier { prefer }
%% 7.1 [dcl.spec]
%% Ambiguous rules in: grammar/Specifiers.sdf
"/*[dss]*/" DeclSpecifier+ "/*[!dss]*/" -> DeclSpecifierSeq { prefer }
%% 7.3.1 [namespace.def]
%% Ambiguous rules in: grammar/Namespaces.sdf
"/*[ns]*/" Identifier "/*[!ns]*/" -> OriginalNamespaceName { prefer }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment