/[bison]/bison/src/lex.h
ViewVC logotype

Diff of /bison/src/lex.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by marc, Thu Aug 30 00:41:37 2001 UTC revision 1.18 by akim, Thu Oct 4 14:55:20 2001 UTC
# Line 24  Line 24 
24  /* Token-type codes. */  /* Token-type codes. */
25  typedef enum token_e  typedef enum token_e
26    {    {
27        tok_undef,  /* Not defined.  Used to initial token_t vars. */
28      tok_eof,      tok_eof,
29      tok_identifier,      tok_identifier,
30      tok_comma,      tok_comma,
# Line 47  typedef enum token_e Line 48  typedef enum token_e
48      tok_number,      tok_number,
49      tok_expect,      tok_expect,
50      tok_thong,      tok_thong,
     tok_hdrext,  
     tok_srcext,  
51      tok_define,      tok_define,
52      tok_skel,      tok_skel,
53      tok_noop,      tok_noop,
# Line 61  extern const char *token_buffer; Line 60  extern const char *token_buffer;
60  extern bucket *symval;  extern bucket *symval;
61  extern int numval;  extern int numval;
62    
63  void init_lex PARAMS ((void));  void lex_init PARAMS ((void));
64    void lex_free PARAMS ((void));
65  int skip_white_space PARAMS ((void));  int skip_white_space PARAMS ((void));
66  void unlex PARAMS ((int));  void unlex PARAMS ((token_t));
67  void read_type_name PARAMS ((FILE *fin));  void read_type_name PARAMS ((FILE *fin));
68    
69  /* Return one of the token-type codes.  When an identifier is seen,  /* Return one of the token-type codes.  When an identifier is seen,
# Line 73  void read_type_name PARAMS ((FILE *fin)) Line 73  void read_type_name PARAMS ((FILE *fin))
73    
74  token_t lex PARAMS ((void));  token_t lex PARAMS ((void));
75    
76  int parse_percent_token PARAMS ((void));  token_t parse_percent_token PARAMS ((void));
77    
78  #endif /* !LEX_H_ */  #endif /* !LEX_H_ */

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26