]> git.saurik.com Git - bison.git/blobdiff - src/state.h
* src/state.h, src/state.c (shifts_to): New.
[bison.git] / src / state.h
index 074b1eea47bdfd0e63b0f86316c77632c79310ec..674e1714acf698699fa6bbc725ca63e9d7e85857 100644 (file)
@@ -139,6 +139,10 @@ typedef struct shifts_s
 #define SHIFT_IS_DISABLED(Shifts, Shift) \
   (Shifts->shifts[Shift] == 0)
 
+/* Return the state such these SHIFTS contain a shift/goto to it on
+   SYMBOL.  Aborts if none found.  */
+struct state_s;
+struct state_s *shifts_to PARAMS ((shifts_t *shifts, symbol_number_t s));
 
 /*-------.
 | Errs.  |