diff options
Diffstat (limited to 'types.h')
-rw-r--r-- | types.h | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -759,9 +759,15 @@ typedef struct Declaration { union { Expression expr; struct { - /* only exist before typing */ - Expression *name; - Expression *lib; + union { + struct { + /* only exist before typing */ + Expression *name; + Expression *lib; + }; + /* only set for non-functions */ + const char *name_str; + }; } foreign; }; Value val; /* only for constant decls. */ |