]> git.draconx.ca Git - cdecl99.git/blobdiff - src/cdecl.h
Kill the "horizontal" declarator chain.
[cdecl99.git] / src / cdecl.h
index 883a4e40138fafbe01959b280eeae681266e905a..95d763424b9b88372efd071fa5380237d360d680 100644 (file)
@@ -48,6 +48,8 @@ enum {
 };
 
 struct cdecl {
+       struct cdecl *next;
+
        struct cdecl_declspec {
                struct cdecl_declspec *next;
                unsigned type;
@@ -55,7 +57,7 @@ struct cdecl {
        } *specifiers;
 
        struct cdecl_declarator {
-               struct cdecl_declarator *next, *child;
+               struct cdecl_declarator *child;
                unsigned type;
                union {
                        char *ident;