Fixed bug in TYPEP on deftypes with parameters. This was breaking - gcl.git - GNU Common Lisp

index : gcl.git
GNU Common Lisp
summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaul Dietz <dietz@dls.net>2003年02月26日 12:44:50 +0000
committerPaul Dietz <dietz@dls.net>2003年02月26日 12:44:50 +0000
commitdd2ed2a464d693134aa443deed0b4888142893fb (patch)
treeefa9b4bae4dcc5301c1e28facc545c1cd4d7bb47
parent969899d1e884d13fa20e99ac084edfcf3e9dfeaf (diff)
downloadgcl-dd2ed2a464d693134aa443deed0b4888142893fb.tar.gz
Fixed bug in TYPEP on deftypes with parameters. This was breaking
the handling of EQL types in TYPEP and (sometimes) in SUBTYPEP.
Diffstat
-rw-r--r--gcl/lsp/predlib.c 2
-rwxr-xr-xgcl/lsp/predlib.lsp 2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcl/lsp/predlib.c b/gcl/lsp/predlib.c
index baa19ad37..ba69369ad 100644
--- a/gcl/lsp/predlib.c
+++ b/gcl/lsp/predlib.c
@@ -1349,7 +1349,7 @@ T327:;
goto T333;}
base[2]= (V48);
{object V84;
- V84= Cnil;
+ V84= (V47);
vs_top=base+3;
while(!endp(V84))
{vs_push(car(V84));V84=cdr(V84);}
diff --git a/gcl/lsp/predlib.lsp b/gcl/lsp/predlib.lsp
index ef1a807f5..2c0d8455a 100755
--- a/gcl/lsp/predlib.lsp
+++ b/gcl/lsp/predlib.lsp
@@ -248,7 +248,7 @@
(structure-subtype-p object tem))
((setq tem (get tp 'deftype-definition))
(typep object
- (apply tem nil)))))))
+ (apply tem i)))))))
;;; NORMALIZE-TYPE normalizes the type using the DEFTYPE definitions.
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月04日 15:57:20 +0000

AltStyle によって変換されたページ (->オリジナル) /