aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/parse_tree.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-12-19 18:09:41 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-12-19 18:09:41 -0800
commit6aa2cbe8070e9d7f0385a57bbc0cce1045fd1725 (patch)
treed7c3cfcc8cf5988f359674b2820b016f112f5a15 /src/parse_tree.h
parentad72421b2c738e93ed8d99823974b5a823a02e03 (diff)
Shave 4 bytes from parse_node_t
Bitfields ftw
Diffstat (limited to 'src/parse_tree.h')
-rw-r--r--src/parse_tree.h4
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;