From ce10591c2048cc3c5e4979b15e14fecc2a384968 Mon Sep 17 00:00:00 2001 From: fche Date: Mon, 30 May 2005 21:28:44 +0000 Subject: 2005-05-30 Frank Ch. Eigler More fully parse & elaborate "expr in array" construct. * staptree.h (array_in): Make this unary. Update .cxx to match. * parse.cxx (parse_array_in): Rewrite. (parse_symbol_plain): Removed. Update .h to match. * elaborate.cxx (typeresolution_info::visit_array_in): New function. (find_array): Tentatively, accept arity=0. * translate.cxx (c_unparser::c_assign): New functions to eliminate much ugly duplication. Use throughout. (visit_symbol): Correct function formal argument search. (c_tmpcounter*::visit): Add missing recursion in several functions. * testsuite/*: Add new tests for array-in construct. Add the first "transok" test. * Makefile.am: Add transok tests. * Makefile.in: Regenerated. --- Makefile.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index e397e2ad..b2eb770c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,9 +21,13 @@ DEFS= -DDEFPATH=$(DEFPATH) -DHAVE_CONFIG_H p=$(srcdir)/testsuite/parse s=$(srcdir)/testsuite/sem +t=$(srcdir)/testsuite/trans TESTS = $(wildcard $(p)ok/*.stp) $(wildcard $(p)ko/*.stp) \ - $(wildcard $(s)ok/*.stp) $(wildcard $(s)ko/*.stp) -XFAIL_TESTS = $(wildcard $(p)ko/*.stp) $(wildcard $(s)ko/*.stp) + $(wildcard $(s)ok/*.stp) $(wildcard $(s)ko/*.stp) \ + $(wildcard $(t)ok/*.stp) $(wildcard $(t)ko/*.stp) +XFAIL_TESTS = $(wildcard $(p)ko/*.stp) \ + $(wildcard $(s)ko/*.stp) \ + $(wildcard $(t)ko/*.stp) TESTS_ENVIRONMENT = $(srcdir)/runtest.sh -- cgit