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

PATCH: 3.1.6-pws-5: math fix



I made a silly mistake in callmathfunc(), because I thought I was using
mathevalarg() rather than mathevall().  It only shows up in functions with
more than one argument.  Actually, it would be more efficient to unload the
arguments onto the stack at the point the function is found, like the grown
up languages do, but that wouldn't fit with calling functions with string
arguments.

--- Src/math.c.mf2	Wed Sep 22 14:10:17 1999
+++ Src/math.c	Thu Sep 23 09:55:50 1999
@@ -509,7 +509,6 @@
 		    addlinknode(l, q);
 		    if (errflag || mtok != COMMA)
 			break;
-		    a++;
 		}
 	    }
 	    if (*a && !errflag)

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy



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