1*0c8de5b0SBaptiste Daroussin 0 $accept : list $end 2*0c8de5b0SBaptiste Daroussin 3*0c8de5b0SBaptiste Daroussin 1 list : 4*0c8de5b0SBaptiste Daroussin 2 | list stat '\n' 5*0c8de5b0SBaptiste Daroussin 3 | list error '\n' 6*0c8de5b0SBaptiste Daroussin 7*0c8de5b0SBaptiste Daroussin 4 stat : expr 8*0c8de5b0SBaptiste Daroussin 5 | LETTER '=' expr 9*0c8de5b0SBaptiste Daroussin 10*0c8de5b0SBaptiste Daroussin 6 expr : '(' expr ')' 11*0c8de5b0SBaptiste Daroussin 7 | expr "ADD" expr 12*0c8de5b0SBaptiste Daroussin 8 | expr "SUB" expr 13*0c8de5b0SBaptiste Daroussin 9 | expr "MUL" expr 14*0c8de5b0SBaptiste Daroussin 10 | expr "DIV" expr 15*0c8de5b0SBaptiste Daroussin 11 | expr "MOD" expr 16*0c8de5b0SBaptiste Daroussin 12 | expr "AND" expr 17*0c8de5b0SBaptiste Daroussin 13 | expr '|' expr 18*0c8de5b0SBaptiste Daroussin 14 | "SUB" expr 19*0c8de5b0SBaptiste Daroussin 15 | LETTER 20*0c8de5b0SBaptiste Daroussin 16 | number 21*0c8de5b0SBaptiste Daroussin 22*0c8de5b0SBaptiste Daroussin 17 number : DIGIT 23*0c8de5b0SBaptiste Daroussin 18 | number DIGIT 24*0c8de5b0SBaptiste Daroussin 25*0c8de5b0SBaptiste Daroussinstate 0 26*0c8de5b0SBaptiste Daroussin $accept : . list $end (0) 27*0c8de5b0SBaptiste Daroussin list : . (1) 28*0c8de5b0SBaptiste Daroussin 29*0c8de5b0SBaptiste Daroussin . reduce 1 30*0c8de5b0SBaptiste Daroussin 31*0c8de5b0SBaptiste Daroussin list goto 1 32*0c8de5b0SBaptiste Daroussin 33*0c8de5b0SBaptiste Daroussin 34*0c8de5b0SBaptiste Daroussinstate 1 35*0c8de5b0SBaptiste Daroussin $accept : list . $end (0) 36*0c8de5b0SBaptiste Daroussin list : list . stat '\n' (2) 37*0c8de5b0SBaptiste Daroussin list : list . error '\n' (3) 38*0c8de5b0SBaptiste Daroussin 39*0c8de5b0SBaptiste Daroussin $end accept 40*0c8de5b0SBaptiste Daroussin error shift 2 41*0c8de5b0SBaptiste Daroussin "SUB" shift 3 42*0c8de5b0SBaptiste Daroussin DIGIT shift 4 43*0c8de5b0SBaptiste Daroussin LETTER shift 5 44*0c8de5b0SBaptiste Daroussin '(' shift 6 45*0c8de5b0SBaptiste Daroussin . error 46*0c8de5b0SBaptiste Daroussin 47*0c8de5b0SBaptiste Daroussin stat goto 7 48*0c8de5b0SBaptiste Daroussin expr goto 8 49*0c8de5b0SBaptiste Daroussin number goto 9 50*0c8de5b0SBaptiste Daroussin 51*0c8de5b0SBaptiste Daroussin 52*0c8de5b0SBaptiste Daroussinstate 2 53*0c8de5b0SBaptiste Daroussin list : list error . '\n' (3) 54*0c8de5b0SBaptiste Daroussin 55*0c8de5b0SBaptiste Daroussin '\n' shift 10 56*0c8de5b0SBaptiste Daroussin . error 57*0c8de5b0SBaptiste Daroussin 58*0c8de5b0SBaptiste Daroussin 59*0c8de5b0SBaptiste Daroussinstate 3 60*0c8de5b0SBaptiste Daroussin expr : "SUB" . expr (14) 61*0c8de5b0SBaptiste Daroussin 62*0c8de5b0SBaptiste Daroussin "SUB" shift 3 63*0c8de5b0SBaptiste Daroussin DIGIT shift 4 64*0c8de5b0SBaptiste Daroussin LETTER shift 11 65*0c8de5b0SBaptiste Daroussin '(' shift 6 66*0c8de5b0SBaptiste Daroussin . error 67*0c8de5b0SBaptiste Daroussin 68*0c8de5b0SBaptiste Daroussin expr goto 12 69*0c8de5b0SBaptiste Daroussin number goto 9 70*0c8de5b0SBaptiste Daroussin 71*0c8de5b0SBaptiste Daroussin 72*0c8de5b0SBaptiste Daroussinstate 4 73*0c8de5b0SBaptiste Daroussin number : DIGIT . (17) 74*0c8de5b0SBaptiste Daroussin 75*0c8de5b0SBaptiste Daroussin . reduce 17 76*0c8de5b0SBaptiste Daroussin 77*0c8de5b0SBaptiste Daroussin 78*0c8de5b0SBaptiste Daroussinstate 5 79*0c8de5b0SBaptiste Daroussin stat : LETTER . '=' expr (5) 80*0c8de5b0SBaptiste Daroussin expr : LETTER . (15) 81*0c8de5b0SBaptiste Daroussin 82*0c8de5b0SBaptiste Daroussin '=' shift 13 83*0c8de5b0SBaptiste Daroussin "ADD" reduce 15 84*0c8de5b0SBaptiste Daroussin "SUB" reduce 15 85*0c8de5b0SBaptiste Daroussin "MUL" reduce 15 86*0c8de5b0SBaptiste Daroussin "DIV" reduce 15 87*0c8de5b0SBaptiste Daroussin "MOD" reduce 15 88*0c8de5b0SBaptiste Daroussin "AND" reduce 15 89*0c8de5b0SBaptiste Daroussin '|' reduce 15 90*0c8de5b0SBaptiste Daroussin '\n' reduce 15 91*0c8de5b0SBaptiste Daroussin 92*0c8de5b0SBaptiste Daroussin 93*0c8de5b0SBaptiste Daroussinstate 6 94*0c8de5b0SBaptiste Daroussin expr : '(' . expr ')' (6) 95*0c8de5b0SBaptiste Daroussin 96*0c8de5b0SBaptiste Daroussin "SUB" shift 3 97*0c8de5b0SBaptiste Daroussin DIGIT shift 4 98*0c8de5b0SBaptiste Daroussin LETTER shift 11 99*0c8de5b0SBaptiste Daroussin '(' shift 6 100*0c8de5b0SBaptiste Daroussin . error 101*0c8de5b0SBaptiste Daroussin 102*0c8de5b0SBaptiste Daroussin expr goto 14 103*0c8de5b0SBaptiste Daroussin number goto 9 104*0c8de5b0SBaptiste Daroussin 105*0c8de5b0SBaptiste Daroussin 106*0c8de5b0SBaptiste Daroussinstate 7 107*0c8de5b0SBaptiste Daroussin list : list stat . '\n' (2) 108*0c8de5b0SBaptiste Daroussin 109*0c8de5b0SBaptiste Daroussin '\n' shift 15 110*0c8de5b0SBaptiste Daroussin . error 111*0c8de5b0SBaptiste Daroussin 112*0c8de5b0SBaptiste Daroussin 113*0c8de5b0SBaptiste Daroussinstate 8 114*0c8de5b0SBaptiste Daroussin stat : expr . (4) 115*0c8de5b0SBaptiste Daroussin expr : expr . "ADD" expr (7) 116*0c8de5b0SBaptiste Daroussin expr : expr . "SUB" expr (8) 117*0c8de5b0SBaptiste Daroussin expr : expr . "MUL" expr (9) 118*0c8de5b0SBaptiste Daroussin expr : expr . "DIV" expr (10) 119*0c8de5b0SBaptiste Daroussin expr : expr . "MOD" expr (11) 120*0c8de5b0SBaptiste Daroussin expr : expr . "AND" expr (12) 121*0c8de5b0SBaptiste Daroussin expr : expr . '|' expr (13) 122*0c8de5b0SBaptiste Daroussin 123*0c8de5b0SBaptiste Daroussin "ADD" shift 16 124*0c8de5b0SBaptiste Daroussin "SUB" shift 17 125*0c8de5b0SBaptiste Daroussin "MUL" shift 18 126*0c8de5b0SBaptiste Daroussin "DIV" shift 19 127*0c8de5b0SBaptiste Daroussin "MOD" shift 20 128*0c8de5b0SBaptiste Daroussin "AND" shift 21 129*0c8de5b0SBaptiste Daroussin '|' shift 22 130*0c8de5b0SBaptiste Daroussin '\n' reduce 4 131*0c8de5b0SBaptiste Daroussin 132*0c8de5b0SBaptiste Daroussin 133*0c8de5b0SBaptiste Daroussinstate 9 134*0c8de5b0SBaptiste Daroussin expr : number . (16) 135*0c8de5b0SBaptiste Daroussin number : number . DIGIT (18) 136*0c8de5b0SBaptiste Daroussin 137*0c8de5b0SBaptiste Daroussin DIGIT shift 23 138*0c8de5b0SBaptiste Daroussin "ADD" reduce 16 139*0c8de5b0SBaptiste Daroussin "SUB" reduce 16 140*0c8de5b0SBaptiste Daroussin "MUL" reduce 16 141*0c8de5b0SBaptiste Daroussin "DIV" reduce 16 142*0c8de5b0SBaptiste Daroussin "MOD" reduce 16 143*0c8de5b0SBaptiste Daroussin "AND" reduce 16 144*0c8de5b0SBaptiste Daroussin '|' reduce 16 145*0c8de5b0SBaptiste Daroussin '\n' reduce 16 146*0c8de5b0SBaptiste Daroussin ')' reduce 16 147*0c8de5b0SBaptiste Daroussin 148*0c8de5b0SBaptiste Daroussin 149*0c8de5b0SBaptiste Daroussinstate 10 150*0c8de5b0SBaptiste Daroussin list : list error '\n' . (3) 151*0c8de5b0SBaptiste Daroussin 152*0c8de5b0SBaptiste Daroussin . reduce 3 153*0c8de5b0SBaptiste Daroussin 154*0c8de5b0SBaptiste Daroussin 155*0c8de5b0SBaptiste Daroussinstate 11 156*0c8de5b0SBaptiste Daroussin expr : LETTER . (15) 157*0c8de5b0SBaptiste Daroussin 158*0c8de5b0SBaptiste Daroussin . reduce 15 159*0c8de5b0SBaptiste Daroussin 160*0c8de5b0SBaptiste Daroussin 161*0c8de5b0SBaptiste Daroussin12: shift/reduce conflict (shift 16, reduce 14) on "ADD" 162*0c8de5b0SBaptiste Daroussin12: shift/reduce conflict (shift 17, reduce 14) on "SUB" 163*0c8de5b0SBaptiste Daroussin12: shift/reduce conflict (shift 18, reduce 14) on "MUL" 164*0c8de5b0SBaptiste Daroussin12: shift/reduce conflict (shift 19, reduce 14) on "DIV" 165*0c8de5b0SBaptiste Daroussin12: shift/reduce conflict (shift 20, reduce 14) on "MOD" 166*0c8de5b0SBaptiste Daroussin12: shift/reduce conflict (shift 21, reduce 14) on "AND" 167*0c8de5b0SBaptiste Daroussinstate 12 168*0c8de5b0SBaptiste Daroussin expr : expr . "ADD" expr (7) 169*0c8de5b0SBaptiste Daroussin expr : expr . "SUB" expr (8) 170*0c8de5b0SBaptiste Daroussin expr : expr . "MUL" expr (9) 171*0c8de5b0SBaptiste Daroussin expr : expr . "DIV" expr (10) 172*0c8de5b0SBaptiste Daroussin expr : expr . "MOD" expr (11) 173*0c8de5b0SBaptiste Daroussin expr : expr . "AND" expr (12) 174*0c8de5b0SBaptiste Daroussin expr : expr . '|' expr (13) 175*0c8de5b0SBaptiste Daroussin expr : "SUB" expr . (14) 176*0c8de5b0SBaptiste Daroussin 177*0c8de5b0SBaptiste Daroussin "ADD" shift 16 178*0c8de5b0SBaptiste Daroussin "SUB" shift 17 179*0c8de5b0SBaptiste Daroussin "MUL" shift 18 180*0c8de5b0SBaptiste Daroussin "DIV" shift 19 181*0c8de5b0SBaptiste Daroussin "MOD" shift 20 182*0c8de5b0SBaptiste Daroussin "AND" shift 21 183*0c8de5b0SBaptiste Daroussin '|' reduce 14 184*0c8de5b0SBaptiste Daroussin '\n' reduce 14 185*0c8de5b0SBaptiste Daroussin ')' reduce 14 186*0c8de5b0SBaptiste Daroussin 187*0c8de5b0SBaptiste Daroussin 188*0c8de5b0SBaptiste Daroussinstate 13 189*0c8de5b0SBaptiste Daroussin stat : LETTER '=' . expr (5) 190*0c8de5b0SBaptiste Daroussin 191*0c8de5b0SBaptiste Daroussin "SUB" shift 3 192*0c8de5b0SBaptiste Daroussin DIGIT shift 4 193*0c8de5b0SBaptiste Daroussin LETTER shift 11 194*0c8de5b0SBaptiste Daroussin '(' shift 6 195*0c8de5b0SBaptiste Daroussin . error 196*0c8de5b0SBaptiste Daroussin 197*0c8de5b0SBaptiste Daroussin expr goto 24 198*0c8de5b0SBaptiste Daroussin number goto 9 199*0c8de5b0SBaptiste Daroussin 200*0c8de5b0SBaptiste Daroussin 201*0c8de5b0SBaptiste Daroussinstate 14 202*0c8de5b0SBaptiste Daroussin expr : '(' expr . ')' (6) 203*0c8de5b0SBaptiste Daroussin expr : expr . "ADD" expr (7) 204*0c8de5b0SBaptiste Daroussin expr : expr . "SUB" expr (8) 205*0c8de5b0SBaptiste Daroussin expr : expr . "MUL" expr (9) 206*0c8de5b0SBaptiste Daroussin expr : expr . "DIV" expr (10) 207*0c8de5b0SBaptiste Daroussin expr : expr . "MOD" expr (11) 208*0c8de5b0SBaptiste Daroussin expr : expr . "AND" expr (12) 209*0c8de5b0SBaptiste Daroussin expr : expr . '|' expr (13) 210*0c8de5b0SBaptiste Daroussin 211*0c8de5b0SBaptiste Daroussin "ADD" shift 16 212*0c8de5b0SBaptiste Daroussin "SUB" shift 17 213*0c8de5b0SBaptiste Daroussin "MUL" shift 18 214*0c8de5b0SBaptiste Daroussin "DIV" shift 19 215*0c8de5b0SBaptiste Daroussin "MOD" shift 20 216*0c8de5b0SBaptiste Daroussin "AND" shift 21 217*0c8de5b0SBaptiste Daroussin '|' shift 22 218*0c8de5b0SBaptiste Daroussin ')' shift 25 219*0c8de5b0SBaptiste Daroussin . error 220*0c8de5b0SBaptiste Daroussin 221*0c8de5b0SBaptiste Daroussin 222*0c8de5b0SBaptiste Daroussinstate 15 223*0c8de5b0SBaptiste Daroussin list : list stat '\n' . (2) 224*0c8de5b0SBaptiste Daroussin 225*0c8de5b0SBaptiste Daroussin . reduce 2 226*0c8de5b0SBaptiste Daroussin 227*0c8de5b0SBaptiste Daroussin 228*0c8de5b0SBaptiste Daroussinstate 16 229*0c8de5b0SBaptiste Daroussin expr : expr "ADD" . expr (7) 230*0c8de5b0SBaptiste Daroussin 231*0c8de5b0SBaptiste Daroussin "SUB" shift 3 232*0c8de5b0SBaptiste Daroussin DIGIT shift 4 233*0c8de5b0SBaptiste Daroussin LETTER shift 11 234*0c8de5b0SBaptiste Daroussin '(' shift 6 235*0c8de5b0SBaptiste Daroussin . error 236*0c8de5b0SBaptiste Daroussin 237*0c8de5b0SBaptiste Daroussin expr goto 26 238*0c8de5b0SBaptiste Daroussin number goto 9 239*0c8de5b0SBaptiste Daroussin 240*0c8de5b0SBaptiste Daroussin 241*0c8de5b0SBaptiste Daroussinstate 17 242*0c8de5b0SBaptiste Daroussin expr : expr "SUB" . expr (8) 243*0c8de5b0SBaptiste Daroussin 244*0c8de5b0SBaptiste Daroussin "SUB" shift 3 245*0c8de5b0SBaptiste Daroussin DIGIT shift 4 246*0c8de5b0SBaptiste Daroussin LETTER shift 11 247*0c8de5b0SBaptiste Daroussin '(' shift 6 248*0c8de5b0SBaptiste Daroussin . error 249*0c8de5b0SBaptiste Daroussin 250*0c8de5b0SBaptiste Daroussin expr goto 27 251*0c8de5b0SBaptiste Daroussin number goto 9 252*0c8de5b0SBaptiste Daroussin 253*0c8de5b0SBaptiste Daroussin 254*0c8de5b0SBaptiste Daroussinstate 18 255*0c8de5b0SBaptiste Daroussin expr : expr "MUL" . expr (9) 256*0c8de5b0SBaptiste Daroussin 257*0c8de5b0SBaptiste Daroussin "SUB" shift 3 258*0c8de5b0SBaptiste Daroussin DIGIT shift 4 259*0c8de5b0SBaptiste Daroussin LETTER shift 11 260*0c8de5b0SBaptiste Daroussin '(' shift 6 261*0c8de5b0SBaptiste Daroussin . error 262*0c8de5b0SBaptiste Daroussin 263*0c8de5b0SBaptiste Daroussin expr goto 28 264*0c8de5b0SBaptiste Daroussin number goto 9 265*0c8de5b0SBaptiste Daroussin 266*0c8de5b0SBaptiste Daroussin 267*0c8de5b0SBaptiste Daroussinstate 19 268*0c8de5b0SBaptiste Daroussin expr : expr "DIV" . expr (10) 269*0c8de5b0SBaptiste Daroussin 270*0c8de5b0SBaptiste Daroussin "SUB" shift 3 271*0c8de5b0SBaptiste Daroussin DIGIT shift 4 272*0c8de5b0SBaptiste Daroussin LETTER shift 11 273*0c8de5b0SBaptiste Daroussin '(' shift 6 274*0c8de5b0SBaptiste Daroussin . error 275*0c8de5b0SBaptiste Daroussin 276*0c8de5b0SBaptiste Daroussin expr goto 29 277*0c8de5b0SBaptiste Daroussin number goto 9 278*0c8de5b0SBaptiste Daroussin 279*0c8de5b0SBaptiste Daroussin 280*0c8de5b0SBaptiste Daroussinstate 20 281*0c8de5b0SBaptiste Daroussin expr : expr "MOD" . expr (11) 282*0c8de5b0SBaptiste Daroussin 283*0c8de5b0SBaptiste Daroussin "SUB" shift 3 284*0c8de5b0SBaptiste Daroussin DIGIT shift 4 285*0c8de5b0SBaptiste Daroussin LETTER shift 11 286*0c8de5b0SBaptiste Daroussin '(' shift 6 287*0c8de5b0SBaptiste Daroussin . error 288*0c8de5b0SBaptiste Daroussin 289*0c8de5b0SBaptiste Daroussin expr goto 30 290*0c8de5b0SBaptiste Daroussin number goto 9 291*0c8de5b0SBaptiste Daroussin 292*0c8de5b0SBaptiste Daroussin 293*0c8de5b0SBaptiste Daroussinstate 21 294*0c8de5b0SBaptiste Daroussin expr : expr "AND" . expr (12) 295*0c8de5b0SBaptiste Daroussin 296*0c8de5b0SBaptiste Daroussin "SUB" shift 3 297*0c8de5b0SBaptiste Daroussin DIGIT shift 4 298*0c8de5b0SBaptiste Daroussin LETTER shift 11 299*0c8de5b0SBaptiste Daroussin '(' shift 6 300*0c8de5b0SBaptiste Daroussin . error 301*0c8de5b0SBaptiste Daroussin 302*0c8de5b0SBaptiste Daroussin expr goto 31 303*0c8de5b0SBaptiste Daroussin number goto 9 304*0c8de5b0SBaptiste Daroussin 305*0c8de5b0SBaptiste Daroussin 306*0c8de5b0SBaptiste Daroussinstate 22 307*0c8de5b0SBaptiste Daroussin expr : expr '|' . expr (13) 308*0c8de5b0SBaptiste Daroussin 309*0c8de5b0SBaptiste Daroussin "SUB" shift 3 310*0c8de5b0SBaptiste Daroussin DIGIT shift 4 311*0c8de5b0SBaptiste Daroussin LETTER shift 11 312*0c8de5b0SBaptiste Daroussin '(' shift 6 313*0c8de5b0SBaptiste Daroussin . error 314*0c8de5b0SBaptiste Daroussin 315*0c8de5b0SBaptiste Daroussin expr goto 32 316*0c8de5b0SBaptiste Daroussin number goto 9 317*0c8de5b0SBaptiste Daroussin 318*0c8de5b0SBaptiste Daroussin 319*0c8de5b0SBaptiste Daroussinstate 23 320*0c8de5b0SBaptiste Daroussin number : number DIGIT . (18) 321*0c8de5b0SBaptiste Daroussin 322*0c8de5b0SBaptiste Daroussin . reduce 18 323*0c8de5b0SBaptiste Daroussin 324*0c8de5b0SBaptiste Daroussin 325*0c8de5b0SBaptiste Daroussinstate 24 326*0c8de5b0SBaptiste Daroussin stat : LETTER '=' expr . (5) 327*0c8de5b0SBaptiste Daroussin expr : expr . "ADD" expr (7) 328*0c8de5b0SBaptiste Daroussin expr : expr . "SUB" expr (8) 329*0c8de5b0SBaptiste Daroussin expr : expr . "MUL" expr (9) 330*0c8de5b0SBaptiste Daroussin expr : expr . "DIV" expr (10) 331*0c8de5b0SBaptiste Daroussin expr : expr . "MOD" expr (11) 332*0c8de5b0SBaptiste Daroussin expr : expr . "AND" expr (12) 333*0c8de5b0SBaptiste Daroussin expr : expr . '|' expr (13) 334*0c8de5b0SBaptiste Daroussin 335*0c8de5b0SBaptiste Daroussin "ADD" shift 16 336*0c8de5b0SBaptiste Daroussin "SUB" shift 17 337*0c8de5b0SBaptiste Daroussin "MUL" shift 18 338*0c8de5b0SBaptiste Daroussin "DIV" shift 19 339*0c8de5b0SBaptiste Daroussin "MOD" shift 20 340*0c8de5b0SBaptiste Daroussin "AND" shift 21 341*0c8de5b0SBaptiste Daroussin '|' shift 22 342*0c8de5b0SBaptiste Daroussin '\n' reduce 5 343*0c8de5b0SBaptiste Daroussin 344*0c8de5b0SBaptiste Daroussin 345*0c8de5b0SBaptiste Daroussinstate 25 346*0c8de5b0SBaptiste Daroussin expr : '(' expr ')' . (6) 347*0c8de5b0SBaptiste Daroussin 348*0c8de5b0SBaptiste Daroussin . reduce 6 349*0c8de5b0SBaptiste Daroussin 350*0c8de5b0SBaptiste Daroussin 351*0c8de5b0SBaptiste Daroussin26: shift/reduce conflict (shift 16, reduce 7) on "ADD" 352*0c8de5b0SBaptiste Daroussin26: shift/reduce conflict (shift 17, reduce 7) on "SUB" 353*0c8de5b0SBaptiste Daroussin26: shift/reduce conflict (shift 18, reduce 7) on "MUL" 354*0c8de5b0SBaptiste Daroussin26: shift/reduce conflict (shift 19, reduce 7) on "DIV" 355*0c8de5b0SBaptiste Daroussin26: shift/reduce conflict (shift 20, reduce 7) on "MOD" 356*0c8de5b0SBaptiste Daroussin26: shift/reduce conflict (shift 21, reduce 7) on "AND" 357*0c8de5b0SBaptiste Daroussin26: shift/reduce conflict (shift 22, reduce 7) on '|' 358*0c8de5b0SBaptiste Daroussinstate 26 359*0c8de5b0SBaptiste Daroussin expr : expr . "ADD" expr (7) 360*0c8de5b0SBaptiste Daroussin expr : expr "ADD" expr . (7) 361*0c8de5b0SBaptiste Daroussin expr : expr . "SUB" expr (8) 362*0c8de5b0SBaptiste Daroussin expr : expr . "MUL" expr (9) 363*0c8de5b0SBaptiste Daroussin expr : expr . "DIV" expr (10) 364*0c8de5b0SBaptiste Daroussin expr : expr . "MOD" expr (11) 365*0c8de5b0SBaptiste Daroussin expr : expr . "AND" expr (12) 366*0c8de5b0SBaptiste Daroussin expr : expr . '|' expr (13) 367*0c8de5b0SBaptiste Daroussin 368*0c8de5b0SBaptiste Daroussin "ADD" shift 16 369*0c8de5b0SBaptiste Daroussin "SUB" shift 17 370*0c8de5b0SBaptiste Daroussin "MUL" shift 18 371*0c8de5b0SBaptiste Daroussin "DIV" shift 19 372*0c8de5b0SBaptiste Daroussin "MOD" shift 20 373*0c8de5b0SBaptiste Daroussin "AND" shift 21 374*0c8de5b0SBaptiste Daroussin '|' shift 22 375*0c8de5b0SBaptiste Daroussin '\n' reduce 7 376*0c8de5b0SBaptiste Daroussin ')' reduce 7 377*0c8de5b0SBaptiste Daroussin 378*0c8de5b0SBaptiste Daroussin 379*0c8de5b0SBaptiste Daroussin27: shift/reduce conflict (shift 16, reduce 8) on "ADD" 380*0c8de5b0SBaptiste Daroussin27: shift/reduce conflict (shift 17, reduce 8) on "SUB" 381*0c8de5b0SBaptiste Daroussin27: shift/reduce conflict (shift 18, reduce 8) on "MUL" 382*0c8de5b0SBaptiste Daroussin27: shift/reduce conflict (shift 19, reduce 8) on "DIV" 383*0c8de5b0SBaptiste Daroussin27: shift/reduce conflict (shift 20, reduce 8) on "MOD" 384*0c8de5b0SBaptiste Daroussin27: shift/reduce conflict (shift 21, reduce 8) on "AND" 385*0c8de5b0SBaptiste Daroussin27: shift/reduce conflict (shift 22, reduce 8) on '|' 386*0c8de5b0SBaptiste Daroussinstate 27 387*0c8de5b0SBaptiste Daroussin expr : expr . "ADD" expr (7) 388*0c8de5b0SBaptiste Daroussin expr : expr . "SUB" expr (8) 389*0c8de5b0SBaptiste Daroussin expr : expr "SUB" expr . (8) 390*0c8de5b0SBaptiste Daroussin expr : expr . "MUL" expr (9) 391*0c8de5b0SBaptiste Daroussin expr : expr . "DIV" expr (10) 392*0c8de5b0SBaptiste Daroussin expr : expr . "MOD" expr (11) 393*0c8de5b0SBaptiste Daroussin expr : expr . "AND" expr (12) 394*0c8de5b0SBaptiste Daroussin expr : expr . '|' expr (13) 395*0c8de5b0SBaptiste Daroussin 396*0c8de5b0SBaptiste Daroussin "ADD" shift 16 397*0c8de5b0SBaptiste Daroussin "SUB" shift 17 398*0c8de5b0SBaptiste Daroussin "MUL" shift 18 399*0c8de5b0SBaptiste Daroussin "DIV" shift 19 400*0c8de5b0SBaptiste Daroussin "MOD" shift 20 401*0c8de5b0SBaptiste Daroussin "AND" shift 21 402*0c8de5b0SBaptiste Daroussin '|' shift 22 403*0c8de5b0SBaptiste Daroussin '\n' reduce 8 404*0c8de5b0SBaptiste Daroussin ')' reduce 8 405*0c8de5b0SBaptiste Daroussin 406*0c8de5b0SBaptiste Daroussin 407*0c8de5b0SBaptiste Daroussin28: shift/reduce conflict (shift 16, reduce 9) on "ADD" 408*0c8de5b0SBaptiste Daroussin28: shift/reduce conflict (shift 17, reduce 9) on "SUB" 409*0c8de5b0SBaptiste Daroussin28: shift/reduce conflict (shift 18, reduce 9) on "MUL" 410*0c8de5b0SBaptiste Daroussin28: shift/reduce conflict (shift 19, reduce 9) on "DIV" 411*0c8de5b0SBaptiste Daroussin28: shift/reduce conflict (shift 20, reduce 9) on "MOD" 412*0c8de5b0SBaptiste Daroussin28: shift/reduce conflict (shift 21, reduce 9) on "AND" 413*0c8de5b0SBaptiste Daroussin28: shift/reduce conflict (shift 22, reduce 9) on '|' 414*0c8de5b0SBaptiste Daroussinstate 28 415*0c8de5b0SBaptiste Daroussin expr : expr . "ADD" expr (7) 416*0c8de5b0SBaptiste Daroussin expr : expr . "SUB" expr (8) 417*0c8de5b0SBaptiste Daroussin expr : expr . "MUL" expr (9) 418*0c8de5b0SBaptiste Daroussin expr : expr "MUL" expr . (9) 419*0c8de5b0SBaptiste Daroussin expr : expr . "DIV" expr (10) 420*0c8de5b0SBaptiste Daroussin expr : expr . "MOD" expr (11) 421*0c8de5b0SBaptiste Daroussin expr : expr . "AND" expr (12) 422*0c8de5b0SBaptiste Daroussin expr : expr . '|' expr (13) 423*0c8de5b0SBaptiste Daroussin 424*0c8de5b0SBaptiste Daroussin "ADD" shift 16 425*0c8de5b0SBaptiste Daroussin "SUB" shift 17 426*0c8de5b0SBaptiste Daroussin "MUL" shift 18 427*0c8de5b0SBaptiste Daroussin "DIV" shift 19 428*0c8de5b0SBaptiste Daroussin "MOD" shift 20 429*0c8de5b0SBaptiste Daroussin "AND" shift 21 430*0c8de5b0SBaptiste Daroussin '|' shift 22 431*0c8de5b0SBaptiste Daroussin '\n' reduce 9 432*0c8de5b0SBaptiste Daroussin ')' reduce 9 433*0c8de5b0SBaptiste Daroussin 434*0c8de5b0SBaptiste Daroussin 435*0c8de5b0SBaptiste Daroussin29: shift/reduce conflict (shift 16, reduce 10) on "ADD" 436*0c8de5b0SBaptiste Daroussin29: shift/reduce conflict (shift 17, reduce 10) on "SUB" 437*0c8de5b0SBaptiste Daroussin29: shift/reduce conflict (shift 18, reduce 10) on "MUL" 438*0c8de5b0SBaptiste Daroussin29: shift/reduce conflict (shift 19, reduce 10) on "DIV" 439*0c8de5b0SBaptiste Daroussin29: shift/reduce conflict (shift 20, reduce 10) on "MOD" 440*0c8de5b0SBaptiste Daroussin29: shift/reduce conflict (shift 21, reduce 10) on "AND" 441*0c8de5b0SBaptiste Daroussin29: shift/reduce conflict (shift 22, reduce 10) on '|' 442*0c8de5b0SBaptiste Daroussinstate 29 443*0c8de5b0SBaptiste Daroussin expr : expr . "ADD" expr (7) 444*0c8de5b0SBaptiste Daroussin expr : expr . "SUB" expr (8) 445*0c8de5b0SBaptiste Daroussin expr : expr . "MUL" expr (9) 446*0c8de5b0SBaptiste Daroussin expr : expr . "DIV" expr (10) 447*0c8de5b0SBaptiste Daroussin expr : expr "DIV" expr . (10) 448*0c8de5b0SBaptiste Daroussin expr : expr . "MOD" expr (11) 449*0c8de5b0SBaptiste Daroussin expr : expr . "AND" expr (12) 450*0c8de5b0SBaptiste Daroussin expr : expr . '|' expr (13) 451*0c8de5b0SBaptiste Daroussin 452*0c8de5b0SBaptiste Daroussin "ADD" shift 16 453*0c8de5b0SBaptiste Daroussin "SUB" shift 17 454*0c8de5b0SBaptiste Daroussin "MUL" shift 18 455*0c8de5b0SBaptiste Daroussin "DIV" shift 19 456*0c8de5b0SBaptiste Daroussin "MOD" shift 20 457*0c8de5b0SBaptiste Daroussin "AND" shift 21 458*0c8de5b0SBaptiste Daroussin '|' shift 22 459*0c8de5b0SBaptiste Daroussin '\n' reduce 10 460*0c8de5b0SBaptiste Daroussin ')' reduce 10 461*0c8de5b0SBaptiste Daroussin 462*0c8de5b0SBaptiste Daroussin 463*0c8de5b0SBaptiste Daroussin30: shift/reduce conflict (shift 16, reduce 11) on "ADD" 464*0c8de5b0SBaptiste Daroussin30: shift/reduce conflict (shift 17, reduce 11) on "SUB" 465*0c8de5b0SBaptiste Daroussin30: shift/reduce conflict (shift 18, reduce 11) on "MUL" 466*0c8de5b0SBaptiste Daroussin30: shift/reduce conflict (shift 19, reduce 11) on "DIV" 467*0c8de5b0SBaptiste Daroussin30: shift/reduce conflict (shift 20, reduce 11) on "MOD" 468*0c8de5b0SBaptiste Daroussin30: shift/reduce conflict (shift 21, reduce 11) on "AND" 469*0c8de5b0SBaptiste Daroussin30: shift/reduce conflict (shift 22, reduce 11) on '|' 470*0c8de5b0SBaptiste Daroussinstate 30 471*0c8de5b0SBaptiste Daroussin expr : expr . "ADD" expr (7) 472*0c8de5b0SBaptiste Daroussin expr : expr . "SUB" expr (8) 473*0c8de5b0SBaptiste Daroussin expr : expr . "MUL" expr (9) 474*0c8de5b0SBaptiste Daroussin expr : expr . "DIV" expr (10) 475*0c8de5b0SBaptiste Daroussin expr : expr . "MOD" expr (11) 476*0c8de5b0SBaptiste Daroussin expr : expr "MOD" expr . (11) 477*0c8de5b0SBaptiste Daroussin expr : expr . "AND" expr (12) 478*0c8de5b0SBaptiste Daroussin expr : expr . '|' expr (13) 479*0c8de5b0SBaptiste Daroussin 480*0c8de5b0SBaptiste Daroussin "ADD" shift 16 481*0c8de5b0SBaptiste Daroussin "SUB" shift 17 482*0c8de5b0SBaptiste Daroussin "MUL" shift 18 483*0c8de5b0SBaptiste Daroussin "DIV" shift 19 484*0c8de5b0SBaptiste Daroussin "MOD" shift 20 485*0c8de5b0SBaptiste Daroussin "AND" shift 21 486*0c8de5b0SBaptiste Daroussin '|' shift 22 487*0c8de5b0SBaptiste Daroussin '\n' reduce 11 488*0c8de5b0SBaptiste Daroussin ')' reduce 11 489*0c8de5b0SBaptiste Daroussin 490*0c8de5b0SBaptiste Daroussin 491*0c8de5b0SBaptiste Daroussin31: shift/reduce conflict (shift 16, reduce 12) on "ADD" 492*0c8de5b0SBaptiste Daroussin31: shift/reduce conflict (shift 17, reduce 12) on "SUB" 493*0c8de5b0SBaptiste Daroussin31: shift/reduce conflict (shift 18, reduce 12) on "MUL" 494*0c8de5b0SBaptiste Daroussin31: shift/reduce conflict (shift 19, reduce 12) on "DIV" 495*0c8de5b0SBaptiste Daroussin31: shift/reduce conflict (shift 20, reduce 12) on "MOD" 496*0c8de5b0SBaptiste Daroussin31: shift/reduce conflict (shift 21, reduce 12) on "AND" 497*0c8de5b0SBaptiste Daroussin31: shift/reduce conflict (shift 22, reduce 12) on '|' 498*0c8de5b0SBaptiste Daroussinstate 31 499*0c8de5b0SBaptiste Daroussin expr : expr . "ADD" expr (7) 500*0c8de5b0SBaptiste Daroussin expr : expr . "SUB" expr (8) 501*0c8de5b0SBaptiste Daroussin expr : expr . "MUL" expr (9) 502*0c8de5b0SBaptiste Daroussin expr : expr . "DIV" expr (10) 503*0c8de5b0SBaptiste Daroussin expr : expr . "MOD" expr (11) 504*0c8de5b0SBaptiste Daroussin expr : expr . "AND" expr (12) 505*0c8de5b0SBaptiste Daroussin expr : expr "AND" expr . (12) 506*0c8de5b0SBaptiste Daroussin expr : expr . '|' expr (13) 507*0c8de5b0SBaptiste Daroussin 508*0c8de5b0SBaptiste Daroussin "ADD" shift 16 509*0c8de5b0SBaptiste Daroussin "SUB" shift 17 510*0c8de5b0SBaptiste Daroussin "MUL" shift 18 511*0c8de5b0SBaptiste Daroussin "DIV" shift 19 512*0c8de5b0SBaptiste Daroussin "MOD" shift 20 513*0c8de5b0SBaptiste Daroussin "AND" shift 21 514*0c8de5b0SBaptiste Daroussin '|' shift 22 515*0c8de5b0SBaptiste Daroussin '\n' reduce 12 516*0c8de5b0SBaptiste Daroussin ')' reduce 12 517*0c8de5b0SBaptiste Daroussin 518*0c8de5b0SBaptiste Daroussin 519*0c8de5b0SBaptiste Daroussin32: shift/reduce conflict (shift 16, reduce 13) on "ADD" 520*0c8de5b0SBaptiste Daroussin32: shift/reduce conflict (shift 17, reduce 13) on "SUB" 521*0c8de5b0SBaptiste Daroussin32: shift/reduce conflict (shift 18, reduce 13) on "MUL" 522*0c8de5b0SBaptiste Daroussin32: shift/reduce conflict (shift 19, reduce 13) on "DIV" 523*0c8de5b0SBaptiste Daroussin32: shift/reduce conflict (shift 20, reduce 13) on "MOD" 524*0c8de5b0SBaptiste Daroussin32: shift/reduce conflict (shift 21, reduce 13) on "AND" 525*0c8de5b0SBaptiste Daroussinstate 32 526*0c8de5b0SBaptiste Daroussin expr : expr . "ADD" expr (7) 527*0c8de5b0SBaptiste Daroussin expr : expr . "SUB" expr (8) 528*0c8de5b0SBaptiste Daroussin expr : expr . "MUL" expr (9) 529*0c8de5b0SBaptiste Daroussin expr : expr . "DIV" expr (10) 530*0c8de5b0SBaptiste Daroussin expr : expr . "MOD" expr (11) 531*0c8de5b0SBaptiste Daroussin expr : expr . "AND" expr (12) 532*0c8de5b0SBaptiste Daroussin expr : expr . '|' expr (13) 533*0c8de5b0SBaptiste Daroussin expr : expr '|' expr . (13) 534*0c8de5b0SBaptiste Daroussin 535*0c8de5b0SBaptiste Daroussin "ADD" shift 16 536*0c8de5b0SBaptiste Daroussin "SUB" shift 17 537*0c8de5b0SBaptiste Daroussin "MUL" shift 18 538*0c8de5b0SBaptiste Daroussin "DIV" shift 19 539*0c8de5b0SBaptiste Daroussin "MOD" shift 20 540*0c8de5b0SBaptiste Daroussin "AND" shift 21 541*0c8de5b0SBaptiste Daroussin '|' reduce 13 542*0c8de5b0SBaptiste Daroussin '\n' reduce 13 543*0c8de5b0SBaptiste Daroussin ')' reduce 13 544*0c8de5b0SBaptiste Daroussin 545*0c8de5b0SBaptiste Daroussin 546*0c8de5b0SBaptiste DaroussinState 12 contains 6 shift/reduce conflicts. 547*0c8de5b0SBaptiste DaroussinState 26 contains 7 shift/reduce conflicts. 548*0c8de5b0SBaptiste DaroussinState 27 contains 7 shift/reduce conflicts. 549*0c8de5b0SBaptiste DaroussinState 28 contains 7 shift/reduce conflicts. 550*0c8de5b0SBaptiste DaroussinState 29 contains 7 shift/reduce conflicts. 551*0c8de5b0SBaptiste DaroussinState 30 contains 7 shift/reduce conflicts. 552*0c8de5b0SBaptiste DaroussinState 31 contains 7 shift/reduce conflicts. 553*0c8de5b0SBaptiste DaroussinState 32 contains 6 shift/reduce conflicts. 554*0c8de5b0SBaptiste Daroussin 555*0c8de5b0SBaptiste Daroussin 556*0c8de5b0SBaptiste Daroussin28 terminals, 5 nonterminals 557*0c8de5b0SBaptiste Daroussin19 grammar rules, 33 states 558*0c8de5b0SBaptiste Daroussin 559*0c8de5b0SBaptiste Daroussingrammar parser grammar 560*0c8de5b0SBaptiste Daroussinsymbol# value# symbol 561*0c8de5b0SBaptiste Daroussin 0 0 $end 562*0c8de5b0SBaptiste Daroussin 1 256 error 563*0c8de5b0SBaptiste Daroussin 2 257 OP_ADD 564*0c8de5b0SBaptiste Daroussin 3 258 "ADD" 565*0c8de5b0SBaptiste Daroussin 4 259 OP_SUB 566*0c8de5b0SBaptiste Daroussin 5 260 "SUB" 567*0c8de5b0SBaptiste Daroussin 6 261 OP_MUL 568*0c8de5b0SBaptiste Daroussin 7 262 "MUL" 569*0c8de5b0SBaptiste Daroussin 8 263 OP_DIV 570*0c8de5b0SBaptiste Daroussin 9 264 "DIV" 571*0c8de5b0SBaptiste Daroussin 10 265 OP_MOD 572*0c8de5b0SBaptiste Daroussin 11 266 "MOD" 573*0c8de5b0SBaptiste Daroussin 12 267 OP_AND 574*0c8de5b0SBaptiste Daroussin 13 268 "AND" 575*0c8de5b0SBaptiste Daroussin 14 269 DIGIT 576*0c8de5b0SBaptiste Daroussin 15 270 LETTER 577*0c8de5b0SBaptiste Daroussin 16 124 '|' 578*0c8de5b0SBaptiste Daroussin 17 38 '&' 579*0c8de5b0SBaptiste Daroussin 18 43 '+' 580*0c8de5b0SBaptiste Daroussin 19 45 '-' 581*0c8de5b0SBaptiste Daroussin 20 42 '*' 582*0c8de5b0SBaptiste Daroussin 21 47 '/' 583*0c8de5b0SBaptiste Daroussin 22 37 '%' 584*0c8de5b0SBaptiste Daroussin 23 271 UMINUS 585*0c8de5b0SBaptiste Daroussin 24 10 '\n' 586*0c8de5b0SBaptiste Daroussin 25 61 '=' 587*0c8de5b0SBaptiste Daroussin 26 40 '(' 588*0c8de5b0SBaptiste Daroussin 27 41 ')' 589*0c8de5b0SBaptiste Daroussin 28 272 $accept 590*0c8de5b0SBaptiste Daroussin 29 273 list 591*0c8de5b0SBaptiste Daroussin 30 274 stat 592*0c8de5b0SBaptiste Daroussin 31 275 expr 593*0c8de5b0SBaptiste Daroussin 32 276 number 594