This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Committed: fix typo in z80.exp
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: binutils at sources dot redhat dot com
- Cc: arnold dot metselaar at planet dot nl
- Date: Tue, 25 Oct 2005 21:36:18 -0400 (EDT)
- Subject: Committed: fix typo in z80.exp
Incorrect TCL syntax caused the following when doing "make
check-gas" (should be for any target but observed for MMIX for
the record):
Running /home/hp/combined/src/src/gas/testsuite/gas/z80/z80.exp ...
ERROR: tcl error sourcing /home/hp/combined/src/src/gas/testsuite/gas/z80/z80.exp.
ERROR: wrong # args: no script following "then" argument
while executing
"if [istarget z80-*-*] then "
(file "/home/hp/combined/src/src/gas/testsuite/gas/z80/z80.exp" line 3)
invoked from within
"source /home/hp/combined/src/src/gas/testsuite/gas/z80/z80.exp"
("uplevel" body line 1)
invoked from within
"uplevel #0 source /home/hp/combined/src/src/gas/testsuite/gas/z80/z80.exp"
invoked from within
"catch "uplevel #0 source $test_file_name""
seems like just a typo, so I committed this as obvious.
(BTW, the "then" is purely optional.)
* gas/z80/z80.exp: Fix misplaced-open-brace typo.
Index: z80.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/z80/z80.exp,v
retrieving revision 1.1
diff -p -u -r1.1 z80.exp
--- z80.exp 25 Oct 2005 17:40:18 -0000 1.1
+++ z80.exp 26 Oct 2005 01:24:02 -0000
@@ -1,7 +1,6 @@
# run targets for target Z80.
-if [istarget z80-*-*] then
-{
+if [istarget z80-*-*] then {
# test redefinitions
run_dump_test "redef"
# test parsing of " and '
brgds, H-P