OSDN Git Service

* testsuite/location-1.test: Use %pmacros.
authordevans <devans>
Fri, 12 Feb 2010 05:32:12 +0000 (05:32 +0000)
committerdevans <devans>
Fri, 12 Feb 2010 05:32:12 +0000 (05:32 +0000)
cgen/ChangeLog
cgen/testsuite/location-1.test

index dc3d831..3f993cb 100644 (file)
@@ -1,5 +1,7 @@
 2010-02-11  Doug Evans  <dje@sebabeach.org>
 
+       * testsuite/location-1.test: Use %pmacros.
+
        * desc-cpu.scm (/gen-cpu-open): Remove comment on K&R support.
        * utils-cgen.scm (gen-define-with-symcat): Remove K&R support.
 
index e8d53d8..dc47c13 100644 (file)
@@ -8,6 +8,7 @@ cpu_file=${test}.test.cpu
 rm -f ${cpu_file}
 
 cat > ${cpu_file} <<EOF
+(define-rtl-version 0 9)
 (include "${srcdir}/../cpu/simplify.inc")
 (include "${srcdir}/testsuite.cpu")
 
@@ -17,8 +18,8 @@ cat > ${cpu_file} <<EOF
   (bad-command name)
 )
 
-(.for-each (.pmacro (name)
-             (.exec (define-test-insn name)))
+(%for-each (%pmacro (name)
+             (%exec (define-test-insn name)))
            test-insns)
 EOF