mescc: Support verbose int types.
* module/mescc/compile.scm (i386:type-alist): Support verbose int types.
This commit is contained in:
parent
542289a3c6
commit
d9df00290c
|
@ -90,7 +90,6 @@
|
|||
;; FIXME sign
|
||||
("unsigned char" . ,(make-type 'unsigned 1 #f))
|
||||
("unsigned short" . ,(make-type 'unsigned 2 #f))
|
||||
("unsigned short int" . ,(make-type 'unsigned 2 #f))
|
||||
("unsigned" . ,(make-type 'unsigned 4 #f))
|
||||
("unsigned int" . ,(make-type 'unsigned 4 #f))
|
||||
("unsigned long" . ,(make-type 'unsigned 4 #f))
|
||||
|
@ -102,7 +101,13 @@
|
|||
|
||||
("float" . ,(make-type 'float 4 #f))
|
||||
("double" . ,(make-type 'float 8 #f))
|
||||
("long double" . ,(make-type 'float 16 #f))))
|
||||
("long double" . ,(make-type 'float 16 #f))
|
||||
|
||||
;;
|
||||
("short int" . ,(make-type 'signed 2 #f))
|
||||
("unsigned short int" . ,(make-type 'unsigned 2 #f))
|
||||
("long int" . ,(make-type 'signed 4 #f))
|
||||
("unsigned long int" . ,(make-type 'unsigned 4 #f))))
|
||||
|
||||
(define (signed? o)
|
||||
(eq? ((compose type:type ->type) o) 'signed))
|
||||
|
|
Loading…
Reference in a new issue