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