/[bison]/bison/src/parse-gram.h
ViewVC logotype

Diff of /bison/src/parse-gram.h

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

revision 1.2 by akim, Tue Jun 11 21:45:49 2002 UTC revision 1.3 by akim, Fri Jun 14 17:29:17 2002 UTC
# Line 1  Line 1 
1  #ifndef BISON_PARSE_GRAM_H  #ifndef BISON_PARSE_GRAM_H
2  # define BISON_PARSE_GRAM_H  # define BISON_PARSE_GRAM_H
3    
4    /* Tokens.  */
5    #ifndef YYTOKENTYPE
6    # if defined (__STDC__) || defined (__cplusplus)
7       /* Put the tokens into the symbol table, so that GDB and other debuggers
8          know about them.  */
9       enum yytokentype {
10         GRAM_EOF = 0,
11         STRING = 258,
12         CHARACTER = 259,
13         INT = 260,
14         PERCENT_TOKEN = 261,
15         PERCENT_NTERM = 262,
16         PERCENT_TYPE = 263,
17         PERCENT_UNION = 264,
18         PERCENT_EXPECT = 265,
19         PERCENT_START = 266,
20         PERCENT_LEFT = 267,
21         PERCENT_RIGHT = 268,
22         PERCENT_NONASSOC = 269,
23         PERCENT_PREC = 270,
24         PERCENT_VERBOSE = 271,
25         PERCENT_ERROR_VERBOSE = 272,
26         PERCENT_OUTPUT = 273,
27         PERCENT_FILE_PREFIX = 274,
28         PERCENT_NAME_PREFIX = 275,
29         PERCENT_DEFINE = 276,
30         PERCENT_PURE_PARSER = 277,
31         PERCENT_DEFINES = 278,
32         PERCENT_YACC = 279,
33         PERCENT_DEBUG = 280,
34         PERCENT_LOCATIONS = 281,
35         PERCENT_NO_LINES = 282,
36         PERCENT_SKELETON = 283,
37         PERCENT_TOKEN_TABLE = 284,
38         TYPE = 285,
39         EQUAL = 286,
40         SEMICOLON = 287,
41         COLON = 288,
42         PIPE = 289,
43         ID = 290,
44         PERCENT_PERCENT = 291,
45         PROLOGUE = 292,
46         EPILOGUE = 293,
47         BRACED_CODE = 294
48       };
49    # endif
50      /* POSIX requires `int' for tokens in interfaces.  */
51    # define YYTOKENTYPE int
52    #endif /* !YYTOKENTYPE */
53    #define GRAM_EOF 0
54    #define STRING 258
55    #define CHARACTER 259
56    #define INT 260
57    #define PERCENT_TOKEN 261
58    #define PERCENT_NTERM 262
59    #define PERCENT_TYPE 263
60    #define PERCENT_UNION 264
61    #define PERCENT_EXPECT 265
62    #define PERCENT_START 266
63    #define PERCENT_LEFT 267
64    #define PERCENT_RIGHT 268
65    #define PERCENT_NONASSOC 269
66    #define PERCENT_PREC 270
67    #define PERCENT_VERBOSE 271
68    #define PERCENT_ERROR_VERBOSE 272
69    #define PERCENT_OUTPUT 273
70    #define PERCENT_FILE_PREFIX 274
71    #define PERCENT_NAME_PREFIX 275
72    #define PERCENT_DEFINE 276
73    #define PERCENT_PURE_PARSER 277
74    #define PERCENT_DEFINES 278
75    #define PERCENT_YACC 279
76    #define PERCENT_DEBUG 280
77    #define PERCENT_LOCATIONS 281
78    #define PERCENT_NO_LINES 282
79    #define PERCENT_SKELETON 283
80    #define PERCENT_TOKEN_TABLE 284
81    #define TYPE 285
82    #define EQUAL 286
83    #define SEMICOLON 287
84    #define COLON 288
85    #define PIPE 289
86    #define ID 290
87    #define PERCENT_PERCENT 291
88    #define PROLOGUE 292
89    #define EPILOGUE 293
90    #define BRACED_CODE 294
91    
92    
93    
94    
95  #ifndef YYSTYPE  #ifndef YYSTYPE
96  typedef union  #line 73 "parse-gram.y"
97  {  typedef union {
98    symbol_t *symbol;    symbol_t *symbol;
99    int integer;    int integer;
100    char *string;    char *string;
101    associativity assoc;    associativity assoc;
102  } yystype;  } yystype;
103  # define YYSTYPE yystype  # define YYSTYPE yystype
 # define YYSTYPE_IS_TRIVIAL 1  
104  #endif  #endif
105    
106    
107    
108  #ifndef YYLTYPE  #ifndef YYLTYPE
109  typedef struct yyltype  typedef struct yyltype
110  {  {
111    int first_line;    int first_line;
112    int first_column;    int first_column;
   
113    int last_line;    int last_line;
114    int last_column;    int last_column;
115  } yyltype;  } yyltype;
   
116  # define YYLTYPE yyltype  # define YYLTYPE yyltype
 # define YYLTYPE_IS_TRIVIAL 1  
117  #endif  #endif
118    
 # define        GRAM_EOF        0  
 # define        STRING  257  
 # define        CHARACTER       258  
 # define        INT     259  
 # define        PERCENT_TOKEN   260  
 # define        PERCENT_NTERM   261  
 # define        PERCENT_TYPE    262  
 # define        PERCENT_UNION   263  
 # define        PERCENT_EXPECT  264  
 # define        PERCENT_START   265  
 # define        PERCENT_LEFT    266  
 # define        PERCENT_RIGHT   267  
 # define        PERCENT_NONASSOC        268  
 # define        PERCENT_PREC    269  
 # define        PERCENT_VERBOSE 270  
 # define        PERCENT_ERROR_VERBOSE   271  
 # define        PERCENT_OUTPUT  272  
 # define        PERCENT_FILE_PREFIX     273  
 # define        PERCENT_NAME_PREFIX     274  
 # define        PERCENT_DEFINE  275  
 # define        PERCENT_PURE_PARSER     276  
 # define        PERCENT_DEFINES 277  
 # define        PERCENT_YACC    278  
 # define        PERCENT_DEBUG   279  
 # define        PERCENT_LOCATIONS       280  
 # define        PERCENT_NO_LINES        281  
 # define        PERCENT_SKELETON        282  
 # define        PERCENT_TOKEN_TABLE     283  
 # define        TYPE    284  
 # define        EQUAL   285  
 # define        SEMICOLON       286  
 # define        COLON   287  
 # define        PIPE    288  
 # define        ID      289  
 # define        PERCENT_PERCENT 290  
 # define        PROLOGUE        291  
 # define        EPILOGUE        292  
 # define        BRACED_CODE     293  
119    
120    
121  #endif /* not BISON_PARSE_GRAM_H */  #endif /* not BISON_PARSE_GRAM_H */
122    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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