Skip to content
Commit 61a230b5 authored by Luís Oliveira's avatar Luís Oliveira
Browse files

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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment