diff --git a/parser.h b/parser.h index 1b3718e..e78f116 100644 --- a/parser.h +++ b/parser.h @@ -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;