Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: New Test Failure



Vin Shelton wrote:
> It looks like the $(##) change broke something:

Yes, the test is now wrong.  $((##)) never did anything useful, it's
better to report an error.

Index: Test/C01arith.ztst
===================================================================
RCS file: /cvsroot/zsh/zsh/Test/C01arith.ztst,v
retrieving revision 1.8
diff -u -r1.8 C01arith.ztst
--- Test/C01arith.ztst	13 May 2004 20:04:25 -0000	1.8
+++ Test/C01arith.ztst	30 Nov 2004 14:01:52 -0000
@@ -69,8 +69,8 @@
 >117
 
   print $((##))
-0:## without following character
->0
+1:## without following character
+?(eval):1: character missing after ##
 
   print $((## ))
 0:## followed by a space

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author