X-Git-Url: https://git.kengrimes.com/?p=henge%2Fapc.git;a=blobdiff_plain;f=src%2Fparser.y;h=881b5628a993341f34659b1febfe91a692abeb38;hp=9f71a851460e7d0fa55bf01a728e5718eb77baf5;hb=e957af2c23e57f97591580aff0b7835eb4af1dc2;hpb=ee18200a9d3817728d6d09745cd29900649d4508 diff --git a/src/parser.y b/src/parser.y index 9f71a85..881b562 100644 --- a/src/parser.y +++ b/src/parser.y @@ -39,9 +39,9 @@ %define api.push-pull push %parse-param {yycstate* cs} %union { - long long ref; + uint32_t ref; int val; - apc_facing face; + apc_facing face; uint8_t* str; ir_class class; ir_set set; @@ -84,6 +84,7 @@ class: NAME CLOPEN { yyclass_push(cs,ir_class_addchild(yyclass(cs), $1)); } progn CLCLOSE { yyclass_pop(cs); } +| CLCLOSE { yyclass_pop(cs); } ; statement_list: