X-Git-Url: https://www.kengrimes.com/gitweb/?p=henge%2Fapc.git;a=blobdiff_plain;f=src%2Fparser.y;h=959890df0f4a25c93beb93e4e0ffe9f098681122;hp=41c4095c2b7e6a9f1b6fe1f0be282ac033d804d3;hb=05fe1bb311ac82279ed19270b3a834f623de3004;hpb=50200436b705f712b1c82ad58a78b413754e614b diff --git a/src/parser.y b/src/parser.y index 41c4095..959890d 100644 --- a/src/parser.y +++ b/src/parser.y @@ -3,8 +3,9 @@ %code requires { #include #include "ir.h" + #include "apc.h" typedef struct class_state_t yycstate; - struct frame_spec_t { ir_facing d; int w, h; }; + struct frame_spec_t { apc_facing d; int w, h; }; } %code provides { yycstate* yycstate_new(void); @@ -16,7 +17,7 @@ #include #include #include "ir.h" - + struct class_state_t { ir_class *csp; ir_class class_stack[]; @@ -39,7 +40,7 @@ %union { long long ref; int val; - ir_facing face; + apc_facing face; uint8_t* str; ir_class class; ir_set set;