diff options
author | Damien George <damien.p.george@gmail.com> | 2017-12-23 23:36:08 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-12-28 23:09:49 +1100 |
commit | 845511af257cd33f1397c5dd05b1c9198d2be96a (patch) | |
tree | 70f5f9d018eaf7fc8f12ee10cc5150c217c17975 /py/pystack.h | |
parent | 1039c5e6998561c452cfc23a836eec374bef39bd (diff) |
py/parse: Break rule data into separate act and arg arrays.
Instead of each rule being stored in ROM as a struct with rule_id, act and
arg, the act and arg parts are now in separate arrays and the rule_id part
is removed because it's not needed. This reduces code size, by roughly one
byte per grammar rule, around 150 bytes.
Diffstat (limited to 'py/pystack.h')
0 files changed, 0 insertions, 0 deletions