Commit 3947519c authored by gourne_o's avatar gourne_o
Browse files

from Olivier Gournet <gourne_o@lrde.epita.fr>

	* src/syn/ThrowExpressions.sdf,
	* src/syn/StringLiterals.sdf,
	* src/syn/ExpressionStatements.sdf,
	* src/syn/SimpleTypeSpecifiers.sdf,
	* src/syn/TryBlocks.sdf,
	* src/syn/AsmDefinitions.sdf,
	* src/syn/ClassSpecifiers.sdf,
	* src/syn/Expressions.sdf,
	* src/syn/JumpStatements.sdf,
	* src/syn/PrimaryExpressions.sdf,
	* src/syn/InitDeclarators.sdf,
	* src/syn/BaseSpecifiers.sdf,
	* src/syn/ConversionFunctionIds.sdf,
	* src/syn/NewExpressions.sdf,
	* src/syn/SelectionStatements.sdf,
	* src/syn/EqualityExpressions.sdf,
	* src/syn/FunctionSpecifiers.sdf,
	* src/syn/TemplateDeclarations.sdf,
	* src/syn/InclusiveOrExpressions.sdf,
	* src/syn/ExclusiveOrExpressions.sdf,
	* src/syn/TemplateIds.sdf,
	* src/syn/AccessSpecifiers.sdf,
	* src/syn/PmExpressions.sdf,
	* src/syn/ConstantExpressions.sdf,
	* src/syn/CharacterLiterals.sdf,
	* src/syn/LinkageSpecifications.sdf,
	* src/syn/MultiplicativeExpressions.sdf,
	* src/syn/FloatingLiterals.sdf,
	* src/syn/AndExpressions.sdf,
	* src/syn/DeleteExpressions.sdf,
	* src/syn/Initializers.sdf,
	* src/syn/Declarations.sdf,
	* src/syn/ExplicitInstantiations.sdf,
	* src/syn/LogicalOrExpressions.sdf,
	* src/syn/Characters.sdf,
	* src/syn/ShiftExpressions.sdf,
	* src/syn/EnumSpecifiers.sdf,
	* src/syn/ExceptionSpecifications.sdf,
	* src/syn/MemberSpecifications.sdf,
	* src/syn/AdditiveExpressions.sdf,
	* src/syn/CvQualifiers.sdf,
	* src/syn/TypeSpecifiers.sdf,
	* src/syn/CtorInitializers.sdf,
	* src/syn/PostfixExpressions.sdf,
	* src/syn/LogicalAndExpressions.sdf,
	* src/syn/LabeledStatements.sdf,
	* src/syn/ExplicitSpecializations.sdf,
	* src/syn/Identifiers.sdf,
	* src/syn/IterationStatements.sdf,
	* src/syn/StorageClassSpecifiers.sdf,
	* src/syn/EscapeSequences.sdf,
	* src/syn/UsingDeclarations.sdf,
	* src/syn/BooleanLiterals.sdf,
	* src/syn/Literals.sdf,
	* src/syn/Namespaces.sdf,
	* src/syn/ElaboratedTypeSpecifiers.sdf,
	* src/syn/Specifiers.sdf,
	* src/syn/RelationalExpressions.sdf,
	* src/syn/DeclarationStatements.sdf,
	* src/syn/IntegerLiterals.sdf,
	* src/syn/NamespaceAliases.sdf,
	* src/syn/TemplateParameters.sdf,
	* src/syn/OperatorFunctionIds.sdf,
	* src/syn/UnaryExpressions.sdf,
	* src/syn/Declarators.sdf:
	Export symbols to remove warnings. Correct some typos.
	* src/parser/parse-cxx.str: Add start symbol on command line for sglr.
	* test/gcc/Makefile.am: Update XFAIL list.
parent 09acaafc
2004-05-14 Olivier Gournet <gourne_o@lrde.epita.fr>
* src/syn/ThrowExpressions.sdf,
* src/syn/StringLiterals.sdf,
* src/syn/ExpressionStatements.sdf,
* src/syn/SimpleTypeSpecifiers.sdf,
* src/syn/TryBlocks.sdf,
* src/syn/AsmDefinitions.sdf,
* src/syn/ClassSpecifiers.sdf,
* src/syn/Expressions.sdf,
* src/syn/JumpStatements.sdf,
* src/syn/PrimaryExpressions.sdf,
* src/syn/InitDeclarators.sdf,
* src/syn/BaseSpecifiers.sdf,
* src/syn/ConversionFunctionIds.sdf,
* src/syn/NewExpressions.sdf,
* src/syn/SelectionStatements.sdf,
* src/syn/EqualityExpressions.sdf,
* src/syn/FunctionSpecifiers.sdf,
* src/syn/TemplateDeclarations.sdf,
* src/syn/InclusiveOrExpressions.sdf,
* src/syn/ExclusiveOrExpressions.sdf,
* src/syn/TemplateIds.sdf,
* src/syn/AccessSpecifiers.sdf,
* src/syn/PmExpressions.sdf,
* src/syn/ConstantExpressions.sdf,
* src/syn/CharacterLiterals.sdf,
* src/syn/LinkageSpecifications.sdf,
* src/syn/MultiplicativeExpressions.sdf,
* src/syn/FloatingLiterals.sdf,
* src/syn/AndExpressions.sdf,
* src/syn/DeleteExpressions.sdf,
* src/syn/Initializers.sdf,
* src/syn/Declarations.sdf,
* src/syn/ExplicitInstantiations.sdf,
* src/syn/LogicalOrExpressions.sdf,
* src/syn/Characters.sdf,
* src/syn/ShiftExpressions.sdf,
* src/syn/EnumSpecifiers.sdf,
* src/syn/ExceptionSpecifications.sdf,
* src/syn/MemberSpecifications.sdf,
* src/syn/AdditiveExpressions.sdf,
* src/syn/CvQualifiers.sdf,
* src/syn/TypeSpecifiers.sdf,
* src/syn/CtorInitializers.sdf,
* src/syn/PostfixExpressions.sdf,
* src/syn/LogicalAndExpressions.sdf,
* src/syn/LabeledStatements.sdf,
* src/syn/ExplicitSpecializations.sdf,
* src/syn/Identifiers.sdf,
* src/syn/IterationStatements.sdf,
* src/syn/StorageClassSpecifiers.sdf,
* src/syn/EscapeSequences.sdf,
* src/syn/UsingDeclarations.sdf,
* src/syn/BooleanLiterals.sdf,
* src/syn/Literals.sdf,
* src/syn/Namespaces.sdf,
* src/syn/ElaboratedTypeSpecifiers.sdf,
* src/syn/Specifiers.sdf,
* src/syn/RelationalExpressions.sdf,
* src/syn/DeclarationStatements.sdf,
* src/syn/IntegerLiterals.sdf,
* src/syn/NamespaceAliases.sdf,
* src/syn/TemplateParameters.sdf,
* src/syn/OperatorFunctionIds.sdf,
* src/syn/UnaryExpressions.sdf,
* src/syn/Declarators.sdf:
Export symbols to remove warnings. Correct some typos.
* src/parser/parse-cxx.str: Add start symbol on command line for sglr.
* test/gcc/Makefile.am: Update XFAIL list.
2004-05-12 Olivier Gournet <gourne_o@lrde.epita.fr>
* test/gcc/Makefile.am,
......
......@@ -31,7 +31,8 @@ rules
FILE(f) -> FILE(g')
where <xtc-new-file> f => g
; (<xtc-command(!"sglr")> <conc>
(["-i", f, "-o", g, "-2A", "-fi", "-p",
(["-i", f, "-o", g, "-2A", "-fi",
"-s", "TranslationUnit", "-p",
<xtc-find> "Dxx.tbl"],
<if-verbose3(!["-v"])> [])
; <xtc-implode-asfix> FILE(g) => FILE(g')
......@@ -41,7 +42,8 @@ rules
stdin -> FILE(g')
where xtc-new-file => g
; (<xtc-command(!"sglr")> <conc>
(["-o", g, "-2A", "-fi", "-p",
(["-o", g, "-2A", "-fi",
"-s", "TranslationUnit", "-p",
<xtc-find> "Dxx.tbl"],
<if-verbose3(!["-v"])> [])
; <xtc-implode-asfix> FILE(g) => FILE(g')
......@@ -54,7 +56,7 @@ strategies
sglr-cmd = if-verbose2 (debug (!"run sglr: "))
; xtc-transform(!"sglr", <conc>
(["-2", "-fi", "-p",
(["-2", "-fi", "-s", "TranslationUnit", "-p",
< (if-dxx("no") < !"Cxx.tbl" + !"Dxx.tbl")
; xtc-find> ],
<if-verbose3(!["-v"])> []))
......
......@@ -19,13 +19,11 @@
%%
module AccessSpecifiers
hiddens
exports
sorts
AccessSpecifier
exports
context-free syntax
%% 10 [class.derived]
......
......@@ -23,13 +23,11 @@ imports
MultiplicativeExpressions
hiddens
exports
sorts
AdditiveExpression
exports
context-free syntax
%% 5.7 [expr.add]
......
......@@ -23,13 +23,11 @@ imports
EqualityExpressions
hiddens
exports
sorts
AndExpression
exports
context-free syntax
%% 5.11 [expr.bit.and]
......
......@@ -23,13 +23,11 @@ imports
StringLiterals
hiddens
exports
sorts
AsmDefinition
exports
context-free syntax
%% 7.4 [dcl.asm]
......
......@@ -28,12 +28,14 @@ imports
hiddens
sorts
BaseClause
BaseSpecifierList
BaseSpecifier
exports
sorts
BaseClause
context-free syntax
%% 10 [class.derived]
......
......@@ -26,11 +26,13 @@ imports
hiddens
sorts
BooleanLiteral
BOOLEAN-LITERAL
exports
sorts
BooleanLiteral
lexical syntax
%% 2.13.5 [lex.bool]
......
......@@ -27,13 +27,15 @@ imports
hiddens
sorts
CharacterLiteral
CHARACTER-LITERAL
C-CHAR-SEQUENCE
C-CHAR
exports
sorts
CharacterLiteral
lexical syntax
%% 2.13.2 [lex.ccon]
......
......@@ -23,18 +23,16 @@ imports
Layout
hiddens
exports
sorts
SOURCE-CHARACTER
DIGIT
NON-DIGIT
NONZERO-DIGIT
SOURCE-CHARACTER
OCTAL-DIGIT
HEXADECIMAL-DIGIT
exports
lexical syntax
%% 2.2 [lex.charset]
......
......@@ -33,10 +33,13 @@ hiddens
sorts
ClassKey
ClassName
ClassSpecifier
exports
sorts
ClassSpecifier
ClassHead
context-free syntax
%% 9 [class]
......
......@@ -23,13 +23,11 @@ imports
ConditionalExpressions
hiddens
exports
sorts
ConstantExpression
exports
context-free syntax
%% 5.19 [expr.const]
......
......@@ -26,12 +26,14 @@ imports
hiddens
sorts
ConversionFunctionId
ConversionTypeId
ConversionDeclarator
exports
sorts
ConversionFunctionId
context-free syntax
%% A.10 [gram.special]
......
......@@ -28,13 +28,15 @@ imports
hiddens
sorts
CtorInitializer
MemInitializerList
MemInitializer
MemInitializerId
exports
sorts
CtorInitializer
context-free syntax
%% A.10 [gram.special]
......
......@@ -19,14 +19,12 @@
%%
module CvQualifiers
hiddens
exports
sorts
CvQualifier
CvQualifierSeq
exports
context-free syntax
%% 7.1.5.1 [dcl.type.cv]
......
......@@ -19,13 +19,14 @@
%%
module DeclarationStatements
hiddens
imports
Declarations
exports
sorts
DeclarationStatement
exports
context-free syntax
%% 6.7 [stmt.dcl]
......
......@@ -37,12 +37,15 @@ imports
hiddens
sorts
Declaration
DeclarationSeq
exports
sorts
Declaration
BlockDeclaration
SimpleDeclaration
exports
context-free syntax
......
......@@ -26,16 +26,20 @@ imports
ExceptionSpecifications
IdExpressions
ParameterDeclarations
SimpleTypeSpecifiers
hiddens
sorts
Declarator
DirectDeclarator
PtrOperator
exports
sorts
Declarator
DeclaratorId
PtrOperator
context-free syntax
%% 8 [dcl.decl]
......@@ -56,7 +60,7 @@ exports
"*" CvQualifierSeq? -> PtrOperator
{pp(H hs=0[KW["*"] _1], .1:opt=_1)}
"&" -> PtrOperator
"::"? NestedNameSpecifier "*" CvQualifiedSeq? -> PtrOperator
"::"? NestedNameSpecifier "*" CvQualifierSeq? -> PtrOperator
{pp(H[_1 _2 H hs=0[KW["*"] _3]], .1:opt=KW["::"])}
%% 8 [dcl.decl]
......
......@@ -23,13 +23,11 @@ imports
CastExpressions
hiddens
exports
sorts
DeleteExpression
exports
context-free syntax
%% 5.3.5 [expr.delete]
......
......@@ -24,14 +24,13 @@ imports
ClassSpecifiers
IdExpressions
Identifiers
TemplateIds
hiddens
exports
sorts
ElaboratedTypeSpecifier
exports
context-free syntax
%% 7.1.5.3 [dcl.type.elab]
......
Markdown is supported
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