xref: /freebsd/contrib/byacc/test/expr.oxout.h (revision 822ca3276345b4a67ccbc9b54616d8b205fd37f2)
1*822ca327SBaptiste Daroussin /* testing only */
2*822ca327SBaptiste Daroussin 
3*822ca327SBaptiste Daroussin typedef int yyyWAT;
4*822ca327SBaptiste Daroussin typedef int yyyWST;
5*822ca327SBaptiste Daroussin typedef int yyyFT;
6*822ca327SBaptiste Daroussin 
7*822ca327SBaptiste Daroussin typedef struct yyyLexemes {
8*822ca327SBaptiste Daroussin     	char * lexeme;
9*822ca327SBaptiste Daroussin } yyyLexemes;
10*822ca327SBaptiste Daroussin 
11*822ca327SBaptiste Daroussin typedef struct yyyAttribs {
12*822ca327SBaptiste Daroussin     	yyyLexemes yyyAttrb1;
13*822ca327SBaptiste Daroussin } yyyAttribs;
14*822ca327SBaptiste Daroussin 
15*822ca327SBaptiste Daroussin typedef struct yyyParent {
16*822ca327SBaptiste Daroussin 	struct yyyGNT *	noderef;
17*822ca327SBaptiste Daroussin 	struct yyyStackItem * stackref;
18*822ca327SBaptiste Daroussin } yyyParent;
19*822ca327SBaptiste Daroussin 
20*822ca327SBaptiste Daroussin typedef struct yyyGNT {
21*822ca327SBaptiste Daroussin 	int *	refCountList;
22*822ca327SBaptiste Daroussin 	int	refCountListLen;
23*822ca327SBaptiste Daroussin 	struct yyyParent parent;
24*822ca327SBaptiste Daroussin 	int	parentIsStack;
25*822ca327SBaptiste Daroussin 	int	prodNum;
26*822ca327SBaptiste Daroussin 	int	whichSym;
27*822ca327SBaptiste Daroussin 	struct yyyGNT ** cL;
28*822ca327SBaptiste Daroussin 	int	cLlen;
29*822ca327SBaptiste Daroussin 	yyyAttribs yyyAttrbs;
30*822ca327SBaptiste Daroussin } yyyGNT;
31*822ca327SBaptiste Daroussin 
32*822ca327SBaptiste Daroussin typedef int yyyRCT;
33*822ca327SBaptiste Daroussin 
34*822ca327SBaptiste Daroussin typedef struct yyyStackItem {
35*822ca327SBaptiste Daroussin 	int		wa;
36*822ca327SBaptiste Daroussin 	int		whichSym;
37*822ca327SBaptiste Daroussin 	yyyGNT *	node;
38*822ca327SBaptiste Daroussin 	long		solvedSAlist;
39*822ca327SBaptiste Daroussin } yyySIT;
40*822ca327SBaptiste Daroussin 
41*822ca327SBaptiste Daroussin #define yyyRSitem yyySIT
42*822ca327SBaptiste Daroussin 
43*822ca327SBaptiste Daroussin yyyRSitem *yyyRSTop;
44*822ca327SBaptiste Daroussin yyyRSitem *yyyAfterRS;
45*822ca327SBaptiste Daroussin yyyRSitem *yyyRS;
46*822ca327SBaptiste Daroussin 
47*822ca327SBaptiste Daroussin #undef yyparse
48*822ca327SBaptiste Daroussin #undef yylex
49*822ca327SBaptiste Daroussin #undef yyerror
50*822ca327SBaptiste Daroussin #undef yychar
51*822ca327SBaptiste Daroussin #undef yyval
52*822ca327SBaptiste Daroussin #undef yylval
53*822ca327SBaptiste Daroussin #undef yydebug
54*822ca327SBaptiste Daroussin #undef yynerrs
55*822ca327SBaptiste Daroussin #undef yyerrflag
56*822ca327SBaptiste Daroussin #undef yylhs
57*822ca327SBaptiste Daroussin #undef yylen
58*822ca327SBaptiste Daroussin #undef yydefred
59*822ca327SBaptiste Daroussin #undef yystos
60*822ca327SBaptiste Daroussin #undef yydgoto
61*822ca327SBaptiste Daroussin #undef yysindex
62*822ca327SBaptiste Daroussin #undef yyrindex
63*822ca327SBaptiste Daroussin #undef yygindex
64*822ca327SBaptiste Daroussin #undef yytable
65*822ca327SBaptiste Daroussin #undef yycheck
66*822ca327SBaptiste Daroussin #undef yyname
67*822ca327SBaptiste Daroussin #undef yyrule
68*822ca327SBaptiste Daroussin #undef yycindex
69*822ca327SBaptiste Daroussin #undef yyctable
70*822ca327SBaptiste Daroussin 
71*822ca327SBaptiste Daroussin struct {
72*822ca327SBaptiste Daroussin     int test_yycheck  [256];
73*822ca327SBaptiste Daroussin     int test_yydefred [256];
74*822ca327SBaptiste Daroussin     int test_yydgoto  [256];
75*822ca327SBaptiste Daroussin     int test_yygindex [256];
76*822ca327SBaptiste Daroussin     int test_yylen    [256];
77*822ca327SBaptiste Daroussin     int test_yylhs    [256];
78*822ca327SBaptiste Daroussin     int test_yyrindex [256];
79*822ca327SBaptiste Daroussin     int test_yysindex [256];
80*822ca327SBaptiste Daroussin     int test_yytable  [256];
81*822ca327SBaptiste Daroussin #define yycheck  test_expr.test_yycheck
82*822ca327SBaptiste Daroussin #define yydefred test_expr.test_yydefred
83*822ca327SBaptiste Daroussin #define yydgoto  test_expr.test_yydgoto
84*822ca327SBaptiste Daroussin #define yygindex test_expr.test_yygindex
85*822ca327SBaptiste Daroussin #define yylen    test_expr.test_yylen
86*822ca327SBaptiste Daroussin #define yylhs    test_expr.test_yylhs
87*822ca327SBaptiste Daroussin #define yyrindex test_expr.test_yyrindex
88*822ca327SBaptiste Daroussin #define yysindex test_expr.test_yysindex
89*822ca327SBaptiste Daroussin #define yytable  test_expr.test_yytable
90*822ca327SBaptiste Daroussin } test_expr;
91