alien: fix some bugs.

locals-and-roots
Doug Coleman 2016-06-04 16:32:15 -07:00
parent 048703d6ce
commit 7065aa70d2
2 changed files with 2 additions and 1 deletions

View File

@ -117,5 +117,5 @@ TYPEDEF: int alien-parser-test-int ; ! reasonably unique name...
! Redefinitions
{ } [
[ c-type: hi TYPEDEF: void* hi ] with-compilation-unit
[ c-type: hi TYPEDEF: void* hi ; ] with-compilation-unit
] unit-test

View File

@ -52,6 +52,7 @@ M: typedef-word synopsis*
[ definer. ]
[ "c-type" word-prop pprint-c-type ]
[ pprint-word ]
[ drop ";" text ]
} cleave ;
: pprint-function-arg ( type name -- )