diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-12-19 08:48:44 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-12-19 08:48:44 +0000 |
commit | 2c1c89c048d61061e6e333c07db1335764e8dbc1 (patch) | |
tree | f370295370c2c45ff17fe3b4d07e8afd4a442c6b | |
parent | b03ef6564aacad5a071d38769a74284396827888 (diff) | |
download | obf-master.tar.gz obf-master.tar.bz2 obf-master.zip |
-rw-r--r-- | parser.h | 24 |
1 files changed, 13 insertions, 11 deletions
@@ -3,20 +3,22 @@ #include "./lib.h" +typedef enum +{ + NEXT = 0, + PREV, + INC, + DEC, + OUT, + READ, + LIN, + LOUT +} node_type_t; + typedef struct { size_t col, row; - enum - { - NEXT = 0, - PREV, - INC, - DEC, - OUT, - READ, - LIN, - LOUT - } type; + node_type_t type; int loop_ref; } node_t; |