aboutsummaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-04-05 01:31:16 +0800
committerTeddy <ted.sybil@gmail.com>2014-04-05 01:31:16 +0800
commitf1dd8fcb1792d62fdf132657b21c15b093fa01f5 (patch)
tree612a3c4c659c6dca49a7e8d05045a30e99317573 /ast.h
parentdcab32187ccd3d7e31e2e01e4c1b313fdad52f99 (diff)
check for invalid `void` type
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ast.h b/ast.h
index bdae049..3ae318d 100644
--- a/ast.h
+++ b/ast.h
@@ -47,7 +47,7 @@ typedef struct CNode {
} rec;
union {
CType *type;
- CVar *var_ref;
+ CVar *var;
} ext;
struct CNode *chd, *next;
/* For error reporting */