picolisp

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/picolisp.git/
Log | Files | Refs | README | LICENSE

commit 7cd4a42efbad3f36fbc3cd49ef0c5b4ea08200e9
parent 6fd8ff6fbe00c264eb19c6ac970c4c7a87fbbea7
Author: Alexander Burger <abu@software-lab.de>
Date:   Tue,  1 Mar 2011 12:21:34 +0100

Must clear mark bit
Diffstat:
Mlib/tags | 42+++++++++++++++++++++---------------------
Msrc/main.c | 2+-
Msrc64/main.l | 1+
3 files changed, 23 insertions(+), 22 deletions(-)

diff --git a/lib/tags b/lib/tags @@ -32,9 +32,9 @@ and (1621 . "@src64/flow.l") any (3879 . "@src64/io.l") append (1338 . "@src64/subr.l") apply (713 . "@src64/apply.l") -arg (2258 . "@src64/main.l") -args (2234 . "@src64/main.l") -argv (2879 . "@src64/main.l") +arg (2259 . "@src64/main.l") +args (2235 . "@src64/main.l") +argv (2880 . "@src64/main.l") as (146 . "@src64/flow.l") asoq (3001 . "@src64/subr.l") assoc (2966 . "@src64/subr.l") @@ -65,7 +65,7 @@ call (3090 . "@src64/flow.l") car (5 . "@src64/subr.l") case (1962 . "@src64/flow.l") catch (2464 . "@src64/flow.l") -cd (2634 . "@src64/main.l") +cd (2635 . "@src64/main.l") cdaaar (464 . "@src64/subr.l") cdaadr (487 . "@src64/subr.l") cdaar (179 . "@src64/subr.l") @@ -88,7 +88,7 @@ circ (816 . "@src64/subr.l") circ? (2398 . "@src64/subr.l") clip (1795 . "@src64/subr.l") close (4267 . "@src64/io.l") -cmd (2861 . "@src64/main.l") +cmd (2862 . "@src64/main.l") cnt (1413 . "@src64/apply.l") co (2546 . "@src64/flow.l") commit (1496 . "@src64/db.l") @@ -99,9 +99,9 @@ connect (201 . "@src64/net.l") cons (747 . "@src64/subr.l") copy (1225 . "@src64/subr.l") ctl (4207 . "@src64/io.l") -ctty (2659 . "@src64/main.l") +ctty (2660 . "@src64/main.l") cut (1797 . "@src64/sym.l") -date (2373 . "@src64/main.l") +date (2374 . "@src64/main.l") dbck (2105 . "@src64/db.l") de (531 . "@src64/flow.l") dec (2323 . "@src64/big.l") @@ -111,7 +111,7 @@ del (1852 . "@src64/sym.l") delete (1401 . "@src64/subr.l") delq (1452 . "@src64/subr.l") diff (2585 . "@src64/subr.l") -dir (2792 . "@src64/main.l") +dir (2793 . "@src64/main.l") dm (543 . "@src64/flow.l") do (2138 . "@src64/flow.l") e (2920 . "@src64/flow.l") @@ -119,7 +119,7 @@ echo (4298 . "@src64/io.l") env (615 . "@src64/main.l") eof (3438 . "@src64/io.l") eol (3429 . "@src64/io.l") -errno (1369 . "@src64/main.l") +errno (1370 . "@src64/main.l") eval (182 . "@src64/flow.l") ext (5028 . "@src64/io.l") ext? (1034 . "@src64/sym.l") @@ -127,7 +127,7 @@ extern (900 . "@src64/sym.l") extra (1263 . "@src64/flow.l") extract (1218 . "@src64/apply.l") fifo (1963 . "@src64/sym.l") -file (2739 . "@src64/main.l") +file (2740 . "@src64/main.l") fill (3236 . "@src64/subr.l") filter (1161 . "@src64/apply.l") fin (2029 . "@src64/subr.l") @@ -164,7 +164,7 @@ ifn (1862 . "@src64/flow.l") in (4103 . "@src64/io.l") inc (2256 . "@src64/big.l") index (2633 . "@src64/subr.l") -info (2696 . "@src64/main.l") +info (2697 . "@src64/main.l") intern (875 . "@src64/sym.l") ipid (3209 . "@src64/flow.l") isa (959 . "@src64/flow.l") @@ -181,7 +181,7 @@ lieu (1156 . "@src64/db.l") line (3613 . "@src64/io.l") lines (3766 . "@src64/io.l") link (1172 . "@src64/subr.l") -lisp (1936 . "@src64/main.l") +lisp (1937 . "@src64/main.l") list (887 . "@src64/subr.l") listen (151 . "@src64/net.l") lit (157 . "@src64/flow.l") @@ -220,10 +220,10 @@ n== (2083 . "@src64/subr.l") nT (2194 . "@src64/subr.l") name (499 . "@src64/sym.l") nand (1656 . "@src64/flow.l") -native (1377 . "@src64/main.l") +native (1378 . "@src64/main.l") need (919 . "@src64/subr.l") new (833 . "@src64/flow.l") -next (2241 . "@src64/main.l") +next (2242 . "@src64/main.l") nil (1739 . "@src64/flow.l") nond (1939 . "@src64/flow.l") nor (1677 . "@src64/flow.l") @@ -237,7 +237,7 @@ onOff (1613 . "@src64/sym.l") one (1646 . "@src64/sym.l") open (4229 . "@src64/io.l") opid (3225 . "@src64/flow.l") -opt (2982 . "@src64/main.l") +opt (2983 . "@src64/main.l") or (1637 . "@src64/flow.l") out (4123 . "@src64/io.l") pack (1144 . "@src64/sym.l") @@ -270,9 +270,9 @@ push (1688 . "@src64/sym.l") push1 (1724 . "@src64/sym.l") put (2698 . "@src64/sym.l") putl (2950 . "@src64/sym.l") -pwd (2623 . "@src64/main.l") +pwd (2624 . "@src64/main.l") queue (1920 . "@src64/sym.l") -quit (1086 . "@src64/main.l") +quit (1087 . "@src64/main.l") quote (141 . "@src64/flow.l") rand (2973 . "@src64/big.l") range (997 . "@src64/subr.l") @@ -281,7 +281,7 @@ raw (458 . "@src64/main.l") rd (5045 . "@src64/io.l") read (2573 . "@src64/io.l") replace (1499 . "@src64/subr.l") -rest (2287 . "@src64/main.l") +rest (2288 . "@src64/main.l") reverse (1674 . "@src64/subr.l") rewind (5011 . "@src64/io.l") rollback (1890 . "@src64/db.l") @@ -322,7 +322,7 @@ text (1272 . "@src64/sym.l") throw (2490 . "@src64/flow.l") tick (3177 . "@src64/flow.l") till (3524 . "@src64/io.l") -time (2506 . "@src64/main.l") +time (2507 . "@src64/main.l") touch (1049 . "@src64/sym.l") trim (1755 . "@src64/subr.l") try (1172 . "@src64/flow.l") @@ -335,9 +335,9 @@ up (706 . "@src64/main.l") upp? (3230 . "@src64/sym.l") uppc (3294 . "@src64/sym.l") use (1570 . "@src64/flow.l") -usec (2611 . "@src64/main.l") +usec (2612 . "@src64/main.l") val (1463 . "@src64/sym.l") -version (2996 . "@src64/main.l") +version (2997 . "@src64/main.l") wait (3064 . "@src64/io.l") when (1881 . "@src64/flow.l") while (2058 . "@src64/flow.l") diff --git a/src/main.c b/src/main.c @@ -392,7 +392,7 @@ bool equal(any x, any y) { a = x, b = y; res = NO; for (;;) { - if (!equal(car(x), car(y))) + if (!equal(car(x), (any)(num(car(y)) & ~1))) break; if (!isCell(cdr(x))) { res = equal(cdr(x), cdr(y)); diff --git a/src64/main.l b/src64/main.l @@ -840,6 +840,7 @@ jlt stkErr ld A (A) # Recurse on CARs ld E (E) + off E 1 # Clear possible mark call equalAE_F # Equal? pop E # Retrieve lists pop A