projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86bd10d
)
Put normalization case into CANONICALIZE-C-TYPE.
author
Chris Hanson
<org/chris-hanson/cph>
Fri, 24 Feb 1995 00:34:46 +0000
(
00:34
+0000)
committer
Chris Hanson
<org/chris-hanson/cph>
Fri, 24 Feb 1995 00:34:46 +0000
(
00:34
+0000)
v7/src/runtime/os2ctype.scm
patch
|
blob
|
history
diff --git
a/v7/src/runtime/os2ctype.scm
b/v7/src/runtime/os2ctype.scm
index 732f9a24772406b823183076a6913b03cda49042..6721e9fdbe9172d5b616fdf52fc6cd3c36449a90 100644
(file)
--- a/
v7/src/runtime/os2ctype.scm
+++ b/
v7/src/runtime/os2ctype.scm
@@
-1,6
+1,6
@@
#| -*-Scheme-*-
-$Id: os2ctype.scm,v 1.
1 1995/02/21 23:00:42
cph Exp $
+$Id: os2ctype.scm,v 1.
2 1995/02/24 00:34:46
cph Exp $
Copyright (c) 1995 Massachusetts Institute of Technology
@@
-89,7
+89,12
@@
MIT in each case. |#
(define c-type-names)
(define (canonicalize-c-type type)
- (cond ((string? type)
+ (cond ((or (c-number-type? type)
+ (c-pointer-type? type)
+ (c-array-type? type)
+ (c-struct-type? type))
+ type)
+ ((string? type)
(lookup-c-type type))
((and (pair? type)
(eq? 'ARRAY (car type))