X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/041cad1677be2b92d0cef20c43fceace6e2f7e66..e89a22bfab22e4d2ee73be49dcb66b51f8d0e892:/src/lex.h diff --git a/src/lex.h b/src/lex.h index 9ded58de..b9462ed1 100644 --- a/src/lex.h +++ b/src/lex.h @@ -48,10 +48,9 @@ typedef enum token_e tok_number, tok_expect, tok_thong, - tok_hdrext, - tok_srcext, tok_noop, - tok_setopt, + tok_intopt, + tok_stropt, tok_illegal, tok_obsolete } token_t; @@ -60,9 +59,10 @@ extern const char *token_buffer; extern bucket *symval; extern int numval; -void init_lex PARAMS ((void)); +void lex_init PARAMS ((void)); +void lex_free PARAMS ((void)); int skip_white_space PARAMS ((void)); -void unlex PARAMS ((int)); +void unlex PARAMS ((token_t)); void read_type_name PARAMS ((FILE *fin)); /* Return one of the token-type codes. When an identifier is seen,