Commit ec9c2824 authored by pouill_n's avatar pouill_n
Browse files

from Nicolas Pouillard <ertai@lrde.epita.fr>

	* src/disamb/disambiguate/TypeDefinitionCandidate.str,
	* src/disamb/disambiguate/VariableDefinitionCandidate.str: Inline
	obselete strategy `oncetd-stop'.
parent 37ce5eec
2004-05-05 Nicolas Pouillard <ertai@lrde.epita.fr>
* src/disamb/disambiguate/TypeDefinitionCandidate.str,
* src/disamb/disambiguate/VariableDefinitionCandidate.str: Inline
obselete strategy `oncetd-stop'.
2004-05-05 Clement Vasseur <clement.vasseur@lrde.epita.fr>
* src/sig/Makefile.am (CLEANFILES): Add Dxx.str, Cxx.str and Dxx.def.
......
......@@ -37,18 +37,16 @@ rules
TypeDefinitionTypedef : a@|DeclSpecifier[ typedef ]| -> a
TypeDefinitionCandidate-0 : a@|SimpleDeclaration[ DeclSpecifierSeq-opt InitDeclaratorList-opt ; ]| -> a
where < oncetd-stop (type-definition-typedef,
type-definition-stop) > a
where < type-definition-oncetd-stop > a
; < ifdebug (debug) > "Candidate for type definition"
TypeDefinitionCandidate-1 : a@|MemberDeclaration[ DeclSpecifierSeq-opt MemberDeclaratorList-opt ; ]| -> a
where < oncetd-stop (type-definition-typedef,
type-definition-stop) > a
where < type-definition-oncetd-stop > a
; < ifdebug (debug) > "Candidate for member type declaration"
strategies
type-definition-oncetd-stop = rec x(TypeDefinitionTypedef <+ not(TypeDefinitionStop); one(x))
type-definition-stop(s) = TypeDefinitionStop
type-definition-typedef = TypeDefinitionTypedef
type-definition-candidate-0 = TypeDefinitionCandidate-0
type-definition-candidate-1 = TypeDefinitionCandidate-1
......@@ -39,18 +39,16 @@ rules
VariableDefinitionDeclarator : a@|MemberDeclarator[ Identifier-opt : ConstantExpression ]| -> a
VariableDefinitionCandidate-0 : a@|ClassSpecifier[ ClassHead { MemberSpecification-opt } ]| -> a
where < oncetd-stop (variable-definition-declarator,
variable-definition-stop) > a
where < variable-definition-oncetd-stop > a
; < ifdebug (debug) > "Candidate for variable definition"
VariableDefinitionCandidate-1 : a@|MemberDeclaration[DeclSpecifierSeq-opt MemberDeclaratorList-opt ; ]| -> a
where < oncetd-stop (variable-definition-declarator,
variable-definition-stop) > a
where < variable-definition-oncetd-stop > a
; < ifdebug (debug) > "Candidate for member variable definition"
strategies
variable-definition-oncetd-stop = rec x(VariableDefinitionDeclarator <+ not(VariableDefinitionStop); one(x))
variable-definition-stop(s) = VariableDefinitionStop
variable-definition-declarator = VariableDefinitionDeclarator
variable-definition-candidate-0 = VariableDefinitionCandidate-0
variable-definition-candidate-1 = VariableDefinitionCandidate-1
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