]> git.saurik.com Git - bison.git/blobdiff - src/symlist.h
Initial check-in introducing experimental GLR parsing. See entry in
[bison.git] / src / symlist.h
index b41540baa1ea11863c713e9bd2e881a7c4d4852b..02af5bbc79ca348205f8cc0e3483ca420d40ad20 100644 (file)
@@ -35,6 +35,8 @@ typedef struct symbol_list_s
   location_t action_location;
 
   symbol_t *ruleprec;
+  int dprec;
+  int merger;
 } symbol_list_t;
 
 
@@ -51,6 +53,8 @@ symbol_list_t * symbol_list_prepend PARAMS ((symbol_list_t *list,
 /* Free the LIST, but not the symbols it contains.  */
 void symbol_list_free PARAMS ((symbol_list_t *list));
 
+/* Return its length. */
+unsigned int symbol_list_length PARAMS ((symbol_list_t *list));
 
 /* Get the data type (alternative in the union) of the value for
    symbol N in rule RULE.  */