X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/342b8b6e2156e923797745af2da2596e3086ccd5..616429b50868bf9225d55143526442a024e32969:/src/lex.h diff --git a/src/lex.h b/src/lex.h index cb5a75e8..9f3cfe3a 100644 --- a/src/lex.h +++ b/src/lex.h @@ -51,7 +51,8 @@ typedef enum token_e tok_define, tok_skel, tok_noop, - tok_setopt, + tok_intopt, + tok_stropt, tok_illegal, tok_obsolete } token_t; @@ -65,6 +66,7 @@ void lex_free PARAMS ((void)); int skip_white_space PARAMS ((void)); void unlex PARAMS ((token_t)); void read_type_name PARAMS ((FILE *fin)); +int xgetc PARAMS ((FILE *fin)); /* Return one of the token-type codes. When an identifier is seen, the code IDENTIFIER is returned and the name is looked up in the @@ -72,6 +74,7 @@ void read_type_name PARAMS ((FILE *fin)); entry found. */ token_t lex PARAMS ((void)); +char literalchar PARAMS ((void)); token_t parse_percent_token PARAMS ((void));