Implement (:STRUCT foo) and (:UNION foo) type parsing.
:STRUCT and :UNION types live one their own namespaces (as in C) and this supported by FIND-TYPE-PARSER itself. (Although one has to manually implement parse methods for each namespace, as we did for :STRUCT and :UNION.) Bare FOO references are parsed to (:STRUCT foo) or (:POINTER (:STRUCT foo)) depending on context and signal a style warning about their deprecation. Note that CANONICALIZE now returns a list like (:STRUCT/:UNION foo) for struct/union types instead of always returning a keyword denoting a built-in type. Unions now have their own FOREIGN-UNION-TYPE, a subclass of FOREIGN-STRUCT-TYPE.
parent
de640c1e
Please register or sign in to comment