Commit 0de2b6b2 authored by david_v's avatar david_v
Browse files

2003-07-11 Valentin David <valentin@lrde.epita.fr>

	* src/disamb/declarator/Declarator.str: Fix the bug for operator
	definitions.
parent 3c4211ce
2003-07-11 Valentin David <valentin@lrde.epita.fr>
* src/disamb/declarator/Declarator.str: Fix the bug for operator
definitions.
2003-07-11 Valentin David <valentin@lrde.epita.fr>
* configure.ac,
......
;; -*- Prcs -*-
(Created-By-Prcs-Version 1 3 2)
(Project-Description "Meta/SDF Grammar for C++")
(Project-Version meta-c++-grammar 0 124)
(Parent-Version meta-c++-grammar 0 123)
(Project-Version meta-c++-grammar 0 125)
(Parent-Version meta-c++-grammar 0 124)
(Version-Log "2003-07-11 Valentin David <valentin@lrde.epita.fr>
* configure.ac,
* src/disamb/Makefile.am: Add new filter directory.
* src/parser/parse-cxx.str, config/check-rules.mk: Update.
* src/disamb/bitfield/Makefile.am,
* src/disamb/bitfield/afcxx-bitfield.str: New.
* src/disamb/declarator/Declarator.str: Fix the bug for operator
definitions.
")
(New-Version-Log "")
(Checkin-Time "Fri, 11 Jul 2003 16:27:24 +0200")
(Checkin-Time "Fri, 11 Jul 2003 17:21:03 +0200")
(Checkin-Login david_v)
(Populate-Ignore
(
......@@ -85,7 +80,7 @@
)
(Project-Keywords)
(Files
(ChangeLog (meta-c++-grammar/0_ChangeLog 1.120 600))
(ChangeLog (meta-c++-grammar/0_ChangeLog 1.121 600))
(Makefile.am (meta-c++-grammar/f/34_Makefile.a 1.12 644))
(README (meta-c++-grammar/g/37_README 1.4 600))
(config/Makefile.am (meta-c++-grammar/f/40_Makefile.a 1.5 644))
......@@ -594,7 +589,7 @@
(src/disamb/declarator/InitializerDeclarator.str (meta-c++-grammar/l/11_Initialize 1.1 640))
(src/disamb/declarator/IfDebug.str (meta-c++-grammar/l/12_IfDebug.st 1.1 640))
(src/disamb/declarator/FunctionDeclarator.str (meta-c++-grammar/l/13_FunctionDe 1.1 640))
(src/disamb/declarator/Declarator.str (meta-c++-grammar/l/14_Declarator 1.1 640))
(src/disamb/declarator/Declarator.str (meta-c++-grammar/l/14_Declarator 1.2 640))
(src/disamb/resolve/Makefile.am (meta-c++-grammar/l/15_Makefile.a 1.1 640))
(src/disamb/resolve/afcxx-resolve.str (meta-c++-grammar/l/16_afcxx-reso 1.1 640))
(src/disamb/declaration/Makefile.am (meta-c++-grammar/l/17_Makefile.a 1.1 640))
......
......@@ -17,6 +17,11 @@ overlays
rules
// Hey, if there is no ambiguity, there is no reason to fail.
// Operator functions have no ambiguity in the declarator.
Declarator : a@direct-declarator-pseudo-overlay (x, decls, y) -> a
where <not(amb(id))> decls
Declarator : direct-declarator-pseudo-overlay (x, amb (decls), y) ->
direct-declarator-pseudo-overlay (x, decl', y)
where < getfirst (valid-declarator) > decls => decl'
......
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