]> gitweb.factorcode.org Git - factor.git/commitdiff
hurr
authorJoe Groff <arcata@gmail.com>
Fri, 16 Oct 2009 21:39:33 +0000 (16:39 -0500)
committerJoe Groff <arcata@gmail.com>
Fri, 16 Oct 2009 21:39:33 +0000 (16:39 -0500)
basis/alien/parser/parser.factor

index abda8539e9460431d1e1492d2a255d29ab3d0e21..cc0d774ccffff83bad61ca37f7ef09241f42c13d 100644 (file)
@@ -21,7 +21,7 @@ IN: alien.parser
     } cond ;
 
 : valid-c-type? ( c-type -- ? )
-    { [ array? ] [ c-type-name? ] } 1|| ;
+    { [ array? ] [ c-type-name? ] [ void? ] } 1|| ;
 
 : parse-c-type ( string -- type )
     (parse-c-type) dup valid-c-type? [ no-c-type ] unless ;