changed NUM to val
[henge/webcc.git] / src / apc / parser.y
index 07bc28b..64bed5a 100644 (file)
@@ -21,7 +21,7 @@
 
 %union {
   uint64_t ref;
-  int NUM;
+  int val;
   char *str;
   void *voidp;
 
 %type <ref> ele_svlink
 %type <ref> set_svlink
 //terminals
-%token <NUM> NUM
+%token <val> NUM
 %token <str> STR
-%token <NUM> SS
+%token <val> SS
 %token <str> NAME
 %token <ref> REF
-%token <NUM> SSD
+%token <val> SSD
 %token <voidp> FPTR
-%token <NUM> WIDTH
-%token <NUM> HEIGHT
-%token <NUM> NUM_PTRS
+%token <val> WIDTH
+%token <val> HEIGHT
+%token <val> NUM_PTRS
 //precedence
 %precedence LP
 %precedence MP