diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2015-12-19 18:09:41 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2015-12-19 18:09:41 -0800 |
commit | 6aa2cbe8070e9d7f0385a57bbc0cce1045fd1725 (patch) | |
tree | d7c3cfcc8cf5988f359674b2820b016f112f5a15 /src/parse_tree.h | |
parent | ad72421b2c738e93ed8d99823974b5a823a02e03 (diff) |
Shave 4 bytes from parse_node_t
Bitfields ftw
Diffstat (limited to 'src/parse_tree.h')
-rw-r--r-- | src/parse_tree.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parse_tree.h b/src/parse_tree.h index b4c4b8ba..4d0ad4a6 100644 --- a/src/parse_tree.h +++ b/src/parse_tree.h @@ -103,10 +103,10 @@ public: enum parse_keyword_t keyword; /* Node flags */ - parse_node_flags_t flags; + parse_node_flags_t flags:4; /* This is used to store e.g. the statement decoration. */ - parse_node_tag_t tag; + parse_node_tag_t tag:4; /* Description */ wcstring describe(void) const; |