xref: /freebsd/contrib/byacc/test/btyacc/err_inherit4.tab.h (revision 822ca3276345b4a67ccbc9b54616d8b205fd37f2)
10c8de5b0SBaptiste Daroussin #ifndef _err_inherit4__defines_h_
20c8de5b0SBaptiste Daroussin #define _err_inherit4__defines_h_
30c8de5b0SBaptiste Daroussin 
40c8de5b0SBaptiste Daroussin #define GLOBAL 257
50c8de5b0SBaptiste Daroussin #define LOCAL 258
60c8de5b0SBaptiste Daroussin #define REAL 259
70c8de5b0SBaptiste Daroussin #define INTEGER 260
80c8de5b0SBaptiste Daroussin #define NAME 261
90c8de5b0SBaptiste Daroussin #ifdef YYSTYPE
100c8de5b0SBaptiste Daroussin #undef  YYSTYPE_IS_DECLARED
110c8de5b0SBaptiste Daroussin #define YYSTYPE_IS_DECLARED 1
120c8de5b0SBaptiste Daroussin #endif
130c8de5b0SBaptiste Daroussin #ifndef YYSTYPE_IS_DECLARED
140c8de5b0SBaptiste Daroussin #define YYSTYPE_IS_DECLARED 1
15*822ca327SBaptiste Daroussin typedef union YYSTYPE
160c8de5b0SBaptiste Daroussin {
170c8de5b0SBaptiste Daroussin     class	cval;
180c8de5b0SBaptiste Daroussin     type	tval;
190c8de5b0SBaptiste Daroussin     namelist *	nlist;
200c8de5b0SBaptiste Daroussin     name	id;
210c8de5b0SBaptiste Daroussin } YYSTYPE;
220c8de5b0SBaptiste Daroussin #endif /* !YYSTYPE_IS_DECLARED */
230c8de5b0SBaptiste Daroussin extern YYSTYPE err_inherit4_lval;
240c8de5b0SBaptiste Daroussin 
252aca18c7SJung-uk Kim #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
262aca18c7SJung-uk Kim /* Default: YYLTYPE is the text position type. */
272aca18c7SJung-uk Kim typedef struct YYLTYPE
282aca18c7SJung-uk Kim {
292aca18c7SJung-uk Kim     int first_line;
302aca18c7SJung-uk Kim     int first_column;
312aca18c7SJung-uk Kim     int last_line;
322aca18c7SJung-uk Kim     int last_column;
332aca18c7SJung-uk Kim     unsigned source;
342aca18c7SJung-uk Kim } YYLTYPE;
352aca18c7SJung-uk Kim #define YYLTYPE_IS_DECLARED 1
362aca18c7SJung-uk Kim #endif
372aca18c7SJung-uk Kim #define YYRHSLOC(rhs, k) ((rhs)[k])
38b53bb29fSJung-uk Kim extern YYLTYPE err_inherit4_lloc;
392aca18c7SJung-uk Kim 
400c8de5b0SBaptiste Daroussin #endif /* _err_inherit4__defines_h_ */
41