X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/d39a6b7ca9c0ead60f4dd4bcf237597d40f846d3..e89a22bfab22e4d2ee73be49dcb66b51f8d0e892:/src/gram.h?ds=inline diff --git a/src/gram.h b/src/gram.h index ca55d007..e26582fe 100644 --- a/src/gram.h +++ b/src/gram.h @@ -147,4 +147,12 @@ extern int pure_parser; /* ERROR_TOKEN_NUMBER is the token number of the error token. */ extern int error_token_number; + + +/* Dump RITEM for traces. */ +void ritem_print PARAMS ((FILE *out)); + +/* Return the size of the longest rule RHS. */ +size_t ritem_longest_rhs PARAMS ((void)); + #endif /* !GRAM_H_ */