Commit 39e61dd1 authored by david_v's avatar david_v
Browse files

2004-01-22 Valentin David <valentin@lrde.epita.fr>

	* configure.ac, src/disamb/Makefile.am: Update.

	* TODO: Update.

	* src/syn/TemplateParameters.sdf: Add tag for deterministic syntax.

	* test/disambiguate/template-05.cc,
	* test/disambiguate/template-10.detcc,
	* test/disambiguate/template-09.detcc,
	* test/disambiguate/template-05.detcc: Fix.

	* test/disambiguate/test.test, test/disambiguate/Makefile.am,
	* test/expressions/Makefile.am, test/expressions/test.test,
	* test/g++/template/Makefile.am, test/g++/template/test.test,
	* test/g++/parse/Makefile.am, test/g++/parse/test.test,
	* test/g++/overload/Makefile.am, test/g++/overload/test.test,
	* test/g++/other/Makefile.am, test/g++/other/test.test,
	* test/g++/opt/Makefile.am, test/g++/opt/test.test,
	* test/g++/lookup/Makefile.am, test/g++/lookup/test.test,
	* test/g++/init/Makefile.am, test/g++/init/test.test,
	* test/g++/inherit/Makefile.am, test/g++/inherit/test.test,
	* test/g++/eh/Makefile.am, test/g++/eh/test.test,
	* test/g++/debug/Makefile.am, test/g++/debug/test.test,
	* test/g++/abi/Makefile.am, test/g++/abi/test.test: Fix and update.

	* src/disamb/disambiguate/TemplateArguments.str,
	* src/disamb/disambiguate/TemplateTraverse.str,
	* src/disamb/disambiguate/TemplateDefinition.str,
	* src/disamb/disambiguate/TemplateClassTraverse.str,
	* src/disamb/disambiguate/TemplateClassDefinition.str,
	* src/disamb/disambiguate/SimpleTypeSpecifier.str,
	* src/disamb/disambiguate/ResolveCompound.str,
	* src/disamb/disambiguate/Resolve.str,
	* src/disamb/disambiguate/PrimaryExpression.str,
	* src/disamb/disambiguate/Parameter.str,
	* src/disamb/disambiguate/Makefile.am,
	* src/disamb/disambiguate/afcxx-disambiguate.str,
	* src/disamb/disambiguate/Kinds.str,
	* src/disamb/disambiguate/Keys.str,
	* src/disamb/disambiguate/Definition.str,
	* src/disamb/disambiguate/ClassOrNamespaceTraverse.str,
	* src/disamb/disambiguate/ClassOrNamespaceAmbiguity.str,
	* src/disamb/disambiguate/BaseTraverse.str,
	* src/disamb/disambiguate/AmbiguityCandidate.str: Fix several bugs.

	* src/parser/parse-cxx.str, config/check-rules.mk: Update.

	* src/disamb/simpledeclaration/Makefile.am,
	* src/disamb/simpledeclaration/afcxx-simpledeclaration.str,
	* src/disamb/simpledeclaration/afcxx-simpledeclaration.meta: New.

	* src/disamb/classparam/Makefile.am,
	* src/disamb/classparam/afcxx-classparam.str,
	* src/disamb/classparam/afcxx-classparam.meta: New.

	* src/disamb/disambiguate/PostfixExpressionAmbiguity.str,
	* src/disamb/disambiguate/PostfixExpressionAmbiguity.meta,
	* src/disamb/disambiguate/PostfixExpressionAmbiguityCandidate.str,
	* src/disamb/disambiguate/PostfixExpressionAmbiguityCandidate.meta,
	* src/disamb/disambiguate/TemplateIdAmbiguityCut.str,
	* src/disamb/disambiguate/TemplateIdAmbiguityCandidate.str,
	* src/disamb/disambiguate/TemplateIdAmbiguity.str,
	* src/disamb/disambiguate/TemplateIdAmbiguityCut.meta,
	* src/disamb/disambiguate/TemplateIdAmbiguityCandidate.meta,
	* src/disamb/disambiguate/TemplateIdAmbiguity.meta,
	* src/disamb/disambiguate/TemplateFunctionDefinitionCandidate.str,
	* src/disamb/disambiguate/TemplateFunctionDefinition.str,
	* src/disamb/disambiguate/TemplateFunctionDefinitionCandidate.meta,
	* src/disamb/disambiguate/TemplateFunctionDefinition.meta,
	* src/disamb/disambiguate/TemplateFunctionTraverse.str,
	* src/disamb/disambiguate/TemplateFunctionTraverse.meta: New.

	* src/disamb/ambdown/ambdown.str, src/disamb/ambdown/Makefile.am: New.
parent b21eb4fe
#! /bin/sh
. ./defs || exit 1
. ./dirs || exit 1
rm $me.visamb $me.disambcc
if g++ -ansi -fsyntax-only "$me.C" -o /dev/null &> /dev/null; then
if g++ -ansi -fsyntax-only "${SRCDIR}"/"$me.C" -o /dev/null &> /dev/null; then
if make $me.visamb; then
exit 0
else
......
......@@ -2,17 +2,21 @@ include $(top_srcdir)/config/Makefile.xt
include $(top_srcdir)/config/check-rules.mk
# Each test case depends on defs.
check_SCRIPTS = defs
check_SCRIPTS = defs dirs
defs: $(top_builddir)/config/defs
ln -s $(top_builddir)/config/defs .
dirs:
echo "SRCDIR=\"$(srcdir)\"" >dirs
$(TESTS): test.test
for i in $(TESTS); do ln -fs $< $$i; done
XFAIL_TESTS = \
debug1.test \
debug2.test
debug2.test \
debug3.test
TESTS = \
debug1.test \
......@@ -25,6 +29,7 @@ TESTS = \
EXTRA_DIST = test.test $(TESTS:.test=.C)
CLEANFILES = defs \
dirs \
$(TESTS) \
$(TESTS:.test=.visamb) \
$(TESTS:.test=.disambcc) \
......
#! /bin/sh
. ./defs || exit 1
. ./dirs || exit 1
rm $me.visamb $me.disambcc
if g++ -ansi -fsyntax-only "$me.C" -o /dev/null &> /dev/null; then
if g++ -ansi -fsyntax-only "${SRCDIR}"/"$me.C" -o /dev/null &> /dev/null; then
if make $me.visamb; then
exit 0
else
......
......@@ -2,18 +2,25 @@ include $(top_srcdir)/config/Makefile.xt
include $(top_srcdir)/config/check-rules.mk
# Each test case depends on defs.
check_SCRIPTS = defs
check_SCRIPTS = defs dirs
defs: $(top_builddir)/config/defs
ln -s $(top_builddir)/config/defs .
dirs:
echo "SRCDIR=\"$(srcdir)\"" >dirs
$(TESTS): test.test
for i in $(TESTS); do ln -fs $< $$i; done
XFAIL_TESTS = \
filter1.test \
filter2.test \
ctor1.test \
dtor1.test \
omit-frame-pointer.test \
filter2.test \
loop1.test \
registers1.test \
synth1.test \
template1.test \
template2.test \
......@@ -37,6 +44,7 @@ TESTS = \
EXTRA_DIST = test.test $(TESTS:.test=.C)
CLEANFILES = defs \
dirs \
$(TESTS) \
$(TESTS:.test=.visamb) \
$(TESTS:.test=.disambcc) \
......
#! /bin/sh
. ./defs || exit 1
. ./dirs || exit 1
rm $me.visamb $me.disambcc
if g++ -ansi -fsyntax-only "$me.C" -o /dev/null &> /dev/null; then
if g++ -ansi -fsyntax-only "${SRCDIR}"/"$me.C" -o /dev/null &> /dev/null; then
if make $me.visamb; then
exit 0
else
......
......@@ -2,16 +2,21 @@ include $(top_srcdir)/config/Makefile.xt
include $(top_srcdir)/config/check-rules.mk
# Each test case depends on defs.
check_SCRIPTS = defs
check_SCRIPTS = defs dirs
defs: $(top_builddir)/config/defs
ln -s $(top_builddir)/config/defs .
dirs:
echo "SRCDIR=\"$(srcdir)\"" >dirs
$(TESTS): test.test
for i in $(TESTS); do ln -fs $< $$i; done
XFAIL_TESTS = \
base1.test
access1.test \
base1.test \
null1.test
TESTS = \
access1.test \
......@@ -24,6 +29,7 @@ TESTS = \
EXTRA_DIST = test.test $(TESTS:.test=.C)
CLEANFILES = defs \
dirs \
$(TESTS) \
$(TESTS:.test=.visamb) \
$(TESTS:.test=.disambcc) \
......
#! /bin/sh
. ./defs || exit 1
. ./dirs || exit 1
rm $me.visamb $me.disambcc
if g++ -ansi -fsyntax-only "$me.C" -o /dev/null &> /dev/null; then
if g++ -ansi -fsyntax-only "${SRCDIR}"/"$me.C" -o /dev/null &> /dev/null; then
if make $me.visamb; then
exit 0
else
......
......@@ -2,18 +2,25 @@ include $(top_srcdir)/config/Makefile.xt
include $(top_srcdir)/config/check-rules.mk
# Each test case depends on defs.
check_SCRIPTS = defs
check_SCRIPTS = defs dirs
defs: $(top_builddir)/config/defs
ln -s $(top_builddir)/config/defs .
dirs:
echo "SRCDIR=\"$(srcdir)\"" >dirs
$(TESTS): test.test
for i in $(TESTS); do ln -fs $< $$i; done
XFAIL_TESTS = \
array1.test \
array2.test \
copy1.test \
dtor1.test \
elide1.test \
empty1.test \
init-ref1.test \
init-ref2.test \
new1.test \
new2.test
......@@ -32,6 +39,7 @@ TESTS = \
EXTRA_DIST = test.test $(TESTS:.test=.C)
CLEANFILES = defs \
dirs \
$(TESTS) \
$(TESTS:.test=.visamb) \
$(TESTS:.test=.disambcc) \
......
#! /bin/sh
. ./defs || exit 1
. ./dirs || exit 1
rm $me.visamb $me.disambcc
if g++ -ansi -fsyntax-only "$me.C" -o /dev/null &> /dev/null; then
if g++ -ansi -fsyntax-only "${SRCDIR}"/"$me.C" -o /dev/null &> /dev/null; then
if make $me.visamb; then
exit 0
else
......
......@@ -2,11 +2,14 @@ include $(top_srcdir)/config/Makefile.xt
include $(top_srcdir)/config/check-rules.mk
# Each test case depends on defs.
check_SCRIPTS = defs
check_SCRIPTS = defs dirs
defs: $(top_builddir)/config/defs
ln -s $(top_builddir)/config/defs .
dirs:
echo "SRCDIR=\"$(srcdir)\"" >dirs
$(TESTS): test.test
for i in $(TESTS); do ln -fs $< $$i; done
......@@ -18,6 +21,7 @@ TESTS = \
EXTRA_DIST = test.test $(TESTS:.test=.C)
CLEANFILES = defs \
dirs \
$(TESTS) \
$(TESTS:.test=.visamb) \
$(TESTS:.test=.disambcc) \
......
#! /bin/sh
. ./defs || exit 1
. ./dirs || exit 1
rm $me.visamb $me.disambcc
if g++ -ansi -fsyntax-only "$me.C" -o /dev/null &> /dev/null; then
if g++ -ansi -fsyntax-only "${SRCDIR}"/"$me.C" -o /dev/null &> /dev/null; then
if make $me.visamb; then
exit 0
else
......
......@@ -2,27 +2,36 @@ include $(top_srcdir)/config/Makefile.xt
include $(top_srcdir)/config/check-rules.mk
# Each test case depends on defs.
check_SCRIPTS = defs
check_SCRIPTS = defs dirs
defs: $(top_builddir)/config/defs
ln -s $(top_builddir)/config/defs .
dirs:
echo "SRCDIR=\"$(srcdir)\"" >dirs
$(TESTS): test.test
for i in $(TESTS); do ln -fs $< $$i; done
XFAIL_TESTS = \
alias1.test \
alias2.test \
anonunion1.test \
cleanup1.test \
conj1.test \
conj2.test \
const1.test \
dtor1.test \
inline1.test \
inline2.test \
mmx1.test \
nrv1.test \
nrv2.test \
ptrintsum1.test \
reg-stack.test \
static1.test \
preinc1.test \
static2.test
static2.test \
vtgc1.test
TESTS = \
alias1.test \
......@@ -48,6 +57,7 @@ TESTS = \
EXTRA_DIST = test.test $(TESTS:.test=.C)
CLEANFILES = defs \
dirs \
$(TESTS) \
$(TESTS:.test=.visamb) \
$(TESTS:.test=.disambcc) \
......
#! /bin/sh
. ./defs || exit 1
. ./dirs || exit 1
rm $me.visamb $me.disambcc
if g++ -ansi -fsyntax-only "$me.C" -o /dev/null &> /dev/null; then
if g++ -ansi -fsyntax-only "${SRCDIR}"/"$me.C" -o /dev/null &> /dev/null; then
if make $me.visamb; then
exit 0
else
......
......@@ -2,20 +2,26 @@ include $(top_srcdir)/config/Makefile.xt
include $(top_srcdir)/config/check-rules.mk
# Each test case depends on defs.
check_SCRIPTS = defs
check_SCRIPTS = defs dirs
defs: $(top_builddir)/config/defs
ln -s $(top_builddir)/config/defs .
dirs:
echo "SRCDIR=\"$(srcdir)\"" >dirs
$(TESTS): test.test
for i in $(TESTS); do ln -fs $< $$i; done
XFAIL_TESTS = \
access1.test \
classkey1.test \
const1.test \
const2.test \
copy1.test \
enum1.test \
error2.test \
init1.test \
init2.test \
ptrmem1.test \
ptrmem2.test \
scope1.test
......@@ -50,6 +56,7 @@ TESTS = \
EXTRA_DIST = test.test $(TESTS:.test=.C)
CLEANFILES = defs \
dirs \
$(TESTS) \
$(TESTS:.test=.visamb) \
$(TESTS:.test=.disambcc) \
......
#! /bin/sh
. ./defs || exit 1
. ./dirs || exit 1
rm $me.visamb $me.disambcc
if g++ -ansi -fsyntax-only "$me.C" -o /dev/null &> /dev/null; then
if g++ -ansi -fsyntax-only "${SRCDIR}"/"$me.C" -o /dev/null &> /dev/null; then
if make $me.visamb; then
exit 0
else
......
......@@ -2,15 +2,19 @@ include $(top_srcdir)/config/Makefile.xt
include $(top_srcdir)/config/check-rules.mk
# Each test case depends on defs.
check_SCRIPTS = defs
check_SCRIPTS = defs dirs
defs: $(top_builddir)/config/defs
ln -s $(top_builddir)/config/defs .
dirs:
echo "SRCDIR=\"$(srcdir)\"" >dirs
$(TESTS): test.test
for i in $(TESTS); do ln -fs $< $$i; done
XFAIL_TESTS = \
builtin1.test \
pmf1.test
TESTS = \
......@@ -21,6 +25,7 @@ TESTS = \
EXTRA_DIST = test.test $(TESTS:.test=.C)
CLEANFILES = defs \
dirs \
$(TESTS) \
$(TESTS:.test=.visamb) \
$(TESTS:.test=.disambcc) \
......
#! /bin/sh
. ./defs || exit 1
. ./dirs || exit 1
rm $me.visamb $me.disambcc
if g++ -ansi -fsyntax-only "$me.C" -o /dev/null &> /dev/null; then
if g++ -ansi -fsyntax-only "${SRCDIR}"/"$me.C" -o /dev/null &> /dev/null; then
if make $me.visamb; then
exit 0
else
......
......@@ -2,14 +2,20 @@ include $(top_srcdir)/config/Makefile.xt
include $(top_srcdir)/config/check-rules.mk
# Each test case depends on defs.
check_SCRIPTS = defs
check_SCRIPTS = defs dirs
defs: $(top_builddir)/config/defs
ln -s $(top_builddir)/config/defs .
dirs:
echo "SRCDIR=\"$(srcdir)\"" >dirs
$(TESTS): test.test
for i in $(TESTS); do ln -fs $< $$i; done
XFAIL_TESTS = \
saved1.test
TESTS = \
angle-bracket.test \
saved1.test \
......@@ -19,6 +25,7 @@ TESTS = \
EXTRA_DIST = test.test $(TESTS:.test=.C)
CLEANFILES = defs \
dirs \
$(TESTS) \
$(TESTS:.test=.visamb) \
$(TESTS:.test=.disambcc) \
......
#! /bin/sh
. ./defs || exit 1
. ./dirs || exit 1
rm $me.visamb $me.disambcc
if g++ -ansi -fsyntax-only "$me.C" -o /dev/null &> /dev/null; then
if g++ -ansi -fsyntax-only "${SRCDIR}"/"$me.C" -o /dev/null &> /dev/null; then
if make $me.visamb; then
exit 0
else
......
......@@ -2,17 +2,19 @@ include $(top_srcdir)/config/Makefile.xt
include $(top_srcdir)/config/check-rules.mk
# Each test case depends on defs.
check_SCRIPTS = defs
check_SCRIPTS = defs dirs
defs: $(top_builddir)/config/defs
ln -s $(top_builddir)/config/defs .
dirs:
echo "SRCDIR=\"$(srcdir)\"" >dirs
$(TESTS): test.test
for i in $(TESTS); do ln -fs $< $$i; done
XFAIL_TESTS = \
access1.test \
copy1.test \
crash1.test \
explicit-instantiation.test \
friend3.test \
......@@ -20,11 +22,9 @@ XFAIL_TESTS = \
friend6.test \
inherit.test \
init-list.test \
member.test \
ntp1.test \
partial-specialization.test \
ptrmem1.test \
ptrmem2.test \
qual1.test \
qualttp10.test \
qualttp11.test \
......@@ -42,6 +42,7 @@ XFAIL_TESTS = \
qualttp7.test \
qualttp8.test \
qualttp9.test \
recurse.test \
spec1.test \
spec2.test \
ttp1.test \
......@@ -107,6 +108,7 @@ TESTS = \
EXTRA_DIST = test.test $(TESTS:.test=.C)
CLEANFILES = defs \
dirs \
$(TESTS) \
$(TESTS:.test=.visamb) \
$(TESTS:.test=.disambcc) \
......
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