Trailing-Edge
-
PDP-10 Archives
-
-
There are no other files named in the archive.
00100 If EQQ were `EQ' then BUG1 would give the same error as BUG3 and BUG4.
00200 As it is, however, it give an `(X . 13) LOSTVAR-ILOC1' error.
00300
00400 (DEFPROP BUG1
00500 (LAMBDA (NAME)
00600 (PROG (X)
00700 (SETQ X
00800 (APPEND
00900 X
01000 (PROG (&V)
01100 LOOP (COND ((NOT (EQQ (SETQ X (READCH))
01200 T))
01300 (SETQ &V
01400 (APPEND &V (LIST X))))
01500 (T (RETURN &V)))
01600 (GO LOOP))))))
01700 EXPR)
01800
01900 If NACS is set to 3 then BUG2 results in a NOAC-RESTORE error.
02000
02100 (DEFPROP BUG2
02200 (LAMBDA NIL
02300 (PROG (X)
02400 (SETQ X
02500 (CONS X
02600 (PROG (&V)
02700 LOOP (COND ((SETQ X T)
02800 (SETQ &V (LIST X)))
02900 (T (RETURN &V)))
03000 (GO LOOP))))))
03100 EXPR)
03200
03300 BUG3 and BUG4 both produce extra pushes and pops.
03400
03500 (DEFPROP BUG3 (LAMBDA NIL (PROG (X) (CONS X (COND ((SETQ X T) X))))) EXPR)
03600
03700 (DEFPROP BUG4 (LAMBDA (X) (PROG NIL (CONS X (COND ((SETQ X T) X))))) EXPR)
03800