Closed cap11235 closed 10 years ago
In retrospect, I realize that I should have done these on a seperate branch. In any case, the new commit makes it so that enum {CONST};
doesn't generate
#integral_t
#num CONST
I think that issue #10 then become irrelevant. We get this:
{- typedef struct Foo_ Foo; -}
#opaque_t struct Foo_
#synonym_t Foo , <struct Foo_>
{- typedef enum Bar_ {
CONST
} Bar; -}
#integral_t enum Bar_
#num CONST
#synonym_t Bar , <enum Bar_>
which appears to work perfectly well.
Now non-typedefed types should have the correct tag in their hsc files