diff options
author | 2014-03-25 20:06:34 -0700 | |
---|---|---|
committer | 2014-03-25 20:06:34 -0700 | |
commit | 9fece3fdf17ae642260ab8f8b85cb97a65bd14f7 (patch) | |
tree | ba204fd29ced1b28dadaf014f711166c9db2cada /parse_constants.h | |
parent | b520a03c57a510b978ac5ee3382b446b72107669 (diff) |
Space and time optimizations for parse_node_t. Reduced size from 48
bytes to 20 bytes.
Diffstat (limited to 'parse_constants.h')
-rw-r--r-- | parse_constants.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parse_constants.h b/parse_constants.h index 8ff96407..10818ffd 100644 --- a/parse_constants.h +++ b/parse_constants.h @@ -70,7 +70,7 @@ enum parse_token_type_t LAST_TOKEN_OR_SYMBOL = parse_token_type_terminate, FIRST_PARSE_TOKEN_TYPE = parse_token_type_string -}; +} __packed; enum parse_keyword_t { @@ -93,7 +93,7 @@ enum parse_keyword_t parse_keyword_exec, LAST_KEYWORD = parse_keyword_builtin -}; +} __packed; /* Statement decorations. This matches the order of productions in decorated_statement */ enum parse_statement_decoration_t |