From 65c918b60a02772a57a0a06450789e2ccee01b2a Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 24 Feb 1995 00:34:46 +0000 Subject: [PATCH] Put normalization case into CANONICALIZE-C-TYPE. --- v7/src/runtime/os2ctype.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/v7/src/runtime/os2ctype.scm b/v7/src/runtime/os2ctype.scm index 732f9a247..6721e9fdb 100644 --- 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)) -- 2.25.1