aboutsummaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-04-11 15:53:22 +0800
committerTeddy <ted.sybil@gmail.com>2014-04-11 15:53:22 +0800
commita19c85b2b0c70db4e87efe129da38ea870f8971c (patch)
tree23be83dde9d5e9b8094a99fe758478e435304fe7 /ast.h
parent8b7a07ec7fe1449b83112feae26566167600d056 (diff)
basic const precalculation
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ast.h b/ast.h
index 84abe4a..9831f68 100644
--- a/ast.h
+++ b/ast.h
@@ -48,6 +48,7 @@ typedef struct CNode {
CType_t type;
CVar_t var;
int const_val;
+ int is_const;
} ext;
struct CNode *chd, *next;
/* For error reporting */