1264790Sbapt 0 $accept : input $end 2264790Sbapt 3264790Sbapt 1 opt_scope : 4264790Sbapt 2 | CLCL 5264790Sbapt 3 | opt_scope ID CLCL 6264790Sbapt 7264790Sbapt 4 typename : opt_scope ID 8264790Sbapt 9264790Sbapt 5 $$1 : 10264790Sbapt 11264790Sbapt 6 input : $$1 decl_list 12264790Sbapt 13264790Sbapt 7 decl_list : 14264790Sbapt 15264790Sbapt 8 $$2 : 16264790Sbapt 17264790Sbapt 9 decl_list : decl_list $$2 decl 18264790Sbapt 19264790Sbapt 10 $$3 : 20264790Sbapt 21264790Sbapt 11 decl : decl_specs $$2 $$3 declarator_list ';' 22264790Sbapt 23264790Sbapt 12 $$4 : 24264790Sbapt 25264790Sbapt 13 decl : decl_specs $$2 $$3 declarator $$4 block_statement 26264790Sbapt 27264790Sbapt 14 decl_specs : decl_spec 28264790Sbapt 15 | decl_specs $$2 decl_spec 29264790Sbapt 30264790Sbapt 16 cv_quals : 31264790Sbapt 17 | cv_quals cv_qual 32264790Sbapt 33264790Sbapt 18 decl_spec : cv_qual 34264790Sbapt 19 | typename 35264790Sbapt 20 | EXTERN 36264790Sbapt 21 | REGISTER 37264790Sbapt 22 | STATIC 38264790Sbapt 39264790Sbapt 23 cv_qual : CONST 40264790Sbapt 24 | VOLATILE 41264790Sbapt 42264790Sbapt 25 $$5 : 43264790Sbapt 44264790Sbapt 26 $$6 : 45264790Sbapt 46264790Sbapt 27 declarator_list : declarator_list ',' $$5 $$6 declarator 47264790Sbapt 28 | declarator 48264790Sbapt 49264790Sbapt 29 declarator : 50264790Sbapt 30 | ID 51264790Sbapt 52264790Sbapt 31 $$7 : 53264790Sbapt 54264790Sbapt 32 $$8 : 55264790Sbapt 56264790Sbapt 33 declarator : '(' $$7 $$8 declarator ')' 57264790Sbapt 34 | '*' cv_quals $$5 $$6 declarator 58264790Sbapt 35 | declarator '[' $$5 expr ']' 59264790Sbapt 36 | declarator '(' $$5 formal_arg_list ')' cv_quals 60264790Sbapt 61264790Sbapt 37 formal_arg_list : 62264790Sbapt 38 | nonempty_formal_arg_list 63264790Sbapt 64264790Sbapt 39 nonempty_formal_arg_list : nonempty_formal_arg_list ',' $$7 formal_arg 65264790Sbapt 40 | formal_arg 66264790Sbapt 67264790Sbapt 41 formal_arg : decl_specs $$2 $$3 declarator 68264790Sbapt 69264790Sbapt 42 expr : expr '+' $$7 expr 70264790Sbapt 43 | expr '-' $$7 expr 71264790Sbapt 44 | expr '*' $$7 expr 72264790Sbapt 45 | expr '%' $$7 expr 73264790Sbapt 46 | expr '/' $$7 expr 74264790Sbapt 47 | '*' $$2 expr 75264790Sbapt 48 | ID 76264790Sbapt 49 | CONSTANT 77264790Sbapt 78264790Sbapt 50 statement : decl 79264790Sbapt 80264790Sbapt 51 $$9 : 81264790Sbapt 82264790Sbapt 52 statement : $$9 expr ';' 83264790Sbapt 84264790Sbapt 53 $$10 : 85264790Sbapt 86264790Sbapt 54 $$11 : 87264790Sbapt 88264790Sbapt 55 statement : IF '(' $$7 expr ')' THEN $$10 statement ELSE $$11 statement 89264790Sbapt 56 | IF '(' $$7 expr ')' THEN $$10 statement 90264790Sbapt 91264790Sbapt 57 $$12 : 92264790Sbapt 93264790Sbapt 58 statement : $$12 block_statement 94264790Sbapt 95264790Sbapt 59 statement_list : 96264790Sbapt 60 | statement_list $$2 statement 97264790Sbapt 98264790Sbapt 61 block_statement : '{' $$2 statement_list '}' 99264790Sbapt 100264790Sbaptstate 0 101264790Sbapt $accept : . input $end (0) 102264790Sbapt $$1 : . (5) 103264790Sbapt 104264790Sbapt . reduce 5 105264790Sbapt 106264790Sbapt input goto 1 107264790Sbapt $$1 goto 2 108264790Sbapt 109264790Sbapt 110264790Sbaptstate 1 111264790Sbapt $accept : input . $end (0) 112264790Sbapt 113264790Sbapt $end accept 114264790Sbapt 115264790Sbapt 116264790Sbaptstate 2 117264790Sbapt input : $$1 . decl_list (6) 118264790Sbapt decl_list : . (7) 119264790Sbapt 120264790Sbapt . reduce 7 121264790Sbapt 122264790Sbapt decl_list goto 3 123264790Sbapt 124264790Sbapt 125264790Sbaptstate 3 126264790Sbapt input : $$1 decl_list . (6) 127264790Sbapt decl_list : decl_list . $$2 decl (9) 128264790Sbapt $$2 : . (8) 129264790Sbapt 130264790Sbapt $end reduce 6 131264790Sbapt ID reduce 8 132264790Sbapt EXTERN reduce 8 133264790Sbapt REGISTER reduce 8 134264790Sbapt STATIC reduce 8 135264790Sbapt CONST reduce 8 136264790Sbapt VOLATILE reduce 8 137264790Sbapt CLCL reduce 8 138264790Sbapt 139264790Sbapt $$2 goto 4 140264790Sbapt 141264790Sbapt 142264790Sbaptstate 4 143264790Sbapt decl_list : decl_list $$2 . decl (9) 144264790Sbapt opt_scope : . (1) 145264790Sbapt 146264790Sbapt EXTERN shift 5 147264790Sbapt REGISTER shift 6 148264790Sbapt STATIC shift 7 149264790Sbapt CONST shift 8 150264790Sbapt VOLATILE shift 9 151264790Sbapt CLCL shift 10 152264790Sbapt ID reduce 1 153264790Sbapt 154264790Sbapt decl goto 11 155264790Sbapt decl_specs goto 12 156264790Sbapt decl_spec goto 13 157264790Sbapt typename goto 14 158264790Sbapt cv_qual goto 15 159264790Sbapt opt_scope goto 16 160264790Sbapt 161264790Sbapt 162264790Sbaptstate 5 163264790Sbapt decl_spec : EXTERN . (20) 164264790Sbapt 165264790Sbapt . reduce 20 166264790Sbapt 167264790Sbapt 168264790Sbaptstate 6 169264790Sbapt decl_spec : REGISTER . (21) 170264790Sbapt 171264790Sbapt . reduce 21 172264790Sbapt 173264790Sbapt 174264790Sbaptstate 7 175264790Sbapt decl_spec : STATIC . (22) 176264790Sbapt 177264790Sbapt . reduce 22 178264790Sbapt 179264790Sbapt 180264790Sbaptstate 8 181264790Sbapt cv_qual : CONST . (23) 182264790Sbapt 183264790Sbapt . reduce 23 184264790Sbapt 185264790Sbapt 186264790Sbaptstate 9 187264790Sbapt cv_qual : VOLATILE . (24) 188264790Sbapt 189264790Sbapt . reduce 24 190264790Sbapt 191264790Sbapt 192264790Sbaptstate 10 193264790Sbapt opt_scope : CLCL . (2) 194264790Sbapt 195264790Sbapt . reduce 2 196264790Sbapt 197264790Sbapt 198264790Sbaptstate 11 199264790Sbapt decl_list : decl_list $$2 decl . (9) 200264790Sbapt 201264790Sbapt . reduce 9 202264790Sbapt 203264790Sbapt 204264790Sbaptstate 12 205264790Sbapt decl : decl_specs . $$2 $$3 declarator_list ';' (11) 206264790Sbapt decl : decl_specs . $$2 $$3 declarator $$4 block_statement (13) 207264790Sbapt decl_specs : decl_specs . $$2 decl_spec (15) 208264790Sbapt $$2 : . (8) 209264790Sbapt 210264790Sbapt . reduce 8 211264790Sbapt 212264790Sbapt $$2 goto 17 213264790Sbapt 214264790Sbapt 215264790Sbaptstate 13 216264790Sbapt decl_specs : decl_spec . (14) 217264790Sbapt 218264790Sbapt . reduce 14 219264790Sbapt 220264790Sbapt 221264790Sbaptstate 14 222264790Sbapt decl_spec : typename . (19) 223264790Sbapt 224264790Sbapt . reduce 19 225264790Sbapt 226264790Sbapt 227264790Sbaptstate 15 228264790Sbapt decl_spec : cv_qual . (18) 229264790Sbapt 230264790Sbapt . reduce 18 231264790Sbapt 232264790Sbapt 233264790Sbaptstate 16 234264790Sbapt opt_scope : opt_scope . ID CLCL (3) 235264790Sbapt typename : opt_scope . ID (4) 236264790Sbapt 237264790Sbapt ID shift 18 238264790Sbapt . error 239264790Sbapt 240264790Sbapt 241264790Sbapt17: reduce/reduce conflict (reduce 1, reduce 10) on ID 242264790Sbaptstate 17 243264790Sbapt decl : decl_specs $$2 . $$3 declarator_list ';' (11) 244264790Sbapt decl : decl_specs $$2 . $$3 declarator $$4 block_statement (13) 245264790Sbapt decl_specs : decl_specs $$2 . decl_spec (15) 246264790Sbapt opt_scope : . (1) 247264790Sbapt $$3 : . (10) 248264790Sbapt 249264790Sbapt EXTERN shift 5 250264790Sbapt REGISTER shift 6 251264790Sbapt STATIC shift 7 252264790Sbapt CONST shift 8 253264790Sbapt VOLATILE shift 9 254264790Sbapt CLCL shift 10 255264790Sbapt '*' reduce 10 256264790Sbapt '(' reduce 10 257264790Sbapt '[' reduce 10 258264790Sbapt ID [trial] reduce 1 259264790Sbapt ID [trial] reduce 10 260264790Sbapt ';' reduce 10 261264790Sbapt ',' reduce 10 262264790Sbapt '{' reduce 10 263264790Sbapt 264264790Sbapt decl_spec goto 19 265264790Sbapt typename goto 14 266264790Sbapt cv_qual goto 15 267264790Sbapt opt_scope goto 16 268264790Sbapt $$3 goto 20 269264790Sbapt 270264790Sbapt 271264790Sbapt18: shift/reduce conflict (shift 21, reduce 4) on CLCL 272264790Sbaptstate 18 273264790Sbapt opt_scope : opt_scope ID . CLCL (3) 274264790Sbapt typename : opt_scope ID . (4) 275264790Sbapt 276264790Sbapt CLCL [trial] shift 21 277264790Sbapt '*' reduce 4 278264790Sbapt '(' reduce 4 279264790Sbapt '[' reduce 4 280264790Sbapt ID reduce 4 281264790Sbapt EXTERN reduce 4 282264790Sbapt REGISTER reduce 4 283264790Sbapt STATIC reduce 4 284264790Sbapt CONST reduce 4 285264790Sbapt VOLATILE reduce 4 286264790Sbapt CLCL [trial] reduce 4 287264790Sbapt ';' reduce 4 288264790Sbapt ',' reduce 4 289264790Sbapt ')' reduce 4 290264790Sbapt '{' reduce 4 291264790Sbapt 292264790Sbapt 293264790Sbaptstate 19 294264790Sbapt decl_specs : decl_specs $$2 decl_spec . (15) 295264790Sbapt 296264790Sbapt . reduce 15 297264790Sbapt 298264790Sbapt 299264790Sbapt20: shift/reduce conflict (shift 23, reduce 29) on '(' 300264790Sbaptstate 20 301264790Sbapt decl : decl_specs $$2 $$3 . declarator_list ';' (11) 302264790Sbapt decl : decl_specs $$2 $$3 . declarator $$4 block_statement (13) 303264790Sbapt declarator : . (29) 304264790Sbapt 305264790Sbapt '*' shift 22 306264790Sbapt '(' [trial] shift 23 307264790Sbapt ID shift 24 308264790Sbapt '(' [trial] reduce 29 309264790Sbapt '[' reduce 29 310264790Sbapt ';' reduce 29 311264790Sbapt ',' reduce 29 312264790Sbapt '{' reduce 29 313264790Sbapt 314264790Sbapt declarator_list goto 25 315264790Sbapt declarator goto 26 316264790Sbapt 317264790Sbapt 318264790Sbaptstate 21 319264790Sbapt opt_scope : opt_scope ID CLCL . (3) 320264790Sbapt 321264790Sbapt . reduce 3 322264790Sbapt 323264790Sbapt 324264790Sbaptstate 22 325264790Sbapt declarator : '*' . cv_quals $$5 $$6 declarator (34) 326264790Sbapt cv_quals : . (16) 327264790Sbapt 328264790Sbapt . reduce 16 329264790Sbapt 330264790Sbapt cv_quals goto 27 331264790Sbapt 332264790Sbapt 333264790Sbaptstate 23 334264790Sbapt declarator : '(' . $$7 $$8 declarator ')' (33) 335264790Sbapt $$7 : . (31) 336264790Sbapt 337264790Sbapt . reduce 31 338264790Sbapt 339264790Sbapt $$7 goto 28 340264790Sbapt 341264790Sbapt 342264790Sbaptstate 24 343264790Sbapt declarator : ID . (30) 344264790Sbapt 345264790Sbapt . reduce 30 346264790Sbapt 347264790Sbapt 348264790Sbaptstate 25 349264790Sbapt decl : decl_specs $$2 $$3 declarator_list . ';' (11) 350264790Sbapt declarator_list : declarator_list . ',' $$5 $$6 declarator (27) 351264790Sbapt 352264790Sbapt ';' shift 29 353264790Sbapt ',' shift 30 354264790Sbapt . error 355264790Sbapt 356264790Sbapt 357264790Sbaptstate 26 358264790Sbapt decl : decl_specs $$2 $$3 declarator . $$4 block_statement (13) 359264790Sbapt declarator_list : declarator . (28) 360264790Sbapt declarator : declarator . '[' $$5 expr ']' (35) 361264790Sbapt declarator : declarator . '(' $$5 formal_arg_list ')' cv_quals (36) 362264790Sbapt $$4 : . (12) 363264790Sbapt 364264790Sbapt '(' shift 31 365264790Sbapt '[' shift 32 366264790Sbapt ';' reduce 28 367264790Sbapt ',' reduce 28 368264790Sbapt '{' reduce 12 369264790Sbapt 370264790Sbapt $$4 goto 33 371264790Sbapt 372264790Sbapt 373264790Sbaptstate 27 374264790Sbapt cv_quals : cv_quals . cv_qual (17) 375264790Sbapt declarator : '*' cv_quals . $$5 $$6 declarator (34) 376264790Sbapt $$5 : . (25) 377264790Sbapt 378264790Sbapt CONST shift 8 379264790Sbapt VOLATILE shift 9 380264790Sbapt '*' reduce 25 381264790Sbapt '(' reduce 25 382264790Sbapt '[' reduce 25 383264790Sbapt ID reduce 25 384264790Sbapt ';' reduce 25 385264790Sbapt ',' reduce 25 386264790Sbapt ')' reduce 25 387264790Sbapt '{' reduce 25 388264790Sbapt 389264790Sbapt cv_qual goto 34 390264790Sbapt $$5 goto 35 391264790Sbapt 392264790Sbapt 393264790Sbaptstate 28 394264790Sbapt declarator : '(' $$7 . $$8 declarator ')' (33) 395264790Sbapt $$8 : . (32) 396264790Sbapt 397264790Sbapt . reduce 32 398264790Sbapt 399264790Sbapt $$8 goto 36 400264790Sbapt 401264790Sbapt 402264790Sbaptstate 29 403264790Sbapt decl : decl_specs $$2 $$3 declarator_list ';' . (11) 404264790Sbapt 405264790Sbapt . reduce 11 406264790Sbapt 407264790Sbapt 408264790Sbaptstate 30 409264790Sbapt declarator_list : declarator_list ',' . $$5 $$6 declarator (27) 410264790Sbapt $$5 : . (25) 411264790Sbapt 412264790Sbapt . reduce 25 413264790Sbapt 414264790Sbapt $$5 goto 37 415264790Sbapt 416264790Sbapt 417264790Sbaptstate 31 418264790Sbapt declarator : declarator '(' . $$5 formal_arg_list ')' cv_quals (36) 419264790Sbapt $$5 : . (25) 420264790Sbapt 421264790Sbapt . reduce 25 422264790Sbapt 423264790Sbapt $$5 goto 38 424264790Sbapt 425264790Sbapt 426264790Sbaptstate 32 427264790Sbapt declarator : declarator '[' . $$5 expr ']' (35) 428264790Sbapt $$5 : . (25) 429264790Sbapt 430264790Sbapt . reduce 25 431264790Sbapt 432264790Sbapt $$5 goto 39 433264790Sbapt 434264790Sbapt 435264790Sbaptstate 33 436264790Sbapt decl : decl_specs $$2 $$3 declarator $$4 . block_statement (13) 437264790Sbapt 438264790Sbapt '{' shift 40 439264790Sbapt . error 440264790Sbapt 441264790Sbapt block_statement goto 41 442264790Sbapt 443264790Sbapt 444264790Sbaptstate 34 445264790Sbapt cv_quals : cv_quals cv_qual . (17) 446264790Sbapt 447264790Sbapt . reduce 17 448264790Sbapt 449264790Sbapt 450264790Sbaptstate 35 451264790Sbapt declarator : '*' cv_quals $$5 . $$6 declarator (34) 452264790Sbapt $$6 : . (26) 453264790Sbapt 454264790Sbapt . reduce 26 455264790Sbapt 456264790Sbapt $$6 goto 42 457264790Sbapt 458264790Sbapt 459264790Sbapt36: shift/reduce conflict (shift 23, reduce 29) on '(' 460264790Sbaptstate 36 461264790Sbapt declarator : '(' $$7 $$8 . declarator ')' (33) 462264790Sbapt declarator : . (29) 463264790Sbapt 464264790Sbapt '*' shift 22 465264790Sbapt '(' [trial] shift 23 466264790Sbapt ID shift 24 467264790Sbapt '(' [trial] reduce 29 468264790Sbapt '[' reduce 29 469264790Sbapt ')' reduce 29 470264790Sbapt 471264790Sbapt declarator goto 43 472264790Sbapt 473264790Sbapt 474264790Sbaptstate 37 475264790Sbapt declarator_list : declarator_list ',' $$5 . $$6 declarator (27) 476264790Sbapt $$6 : . (26) 477264790Sbapt 478264790Sbapt . reduce 26 479264790Sbapt 480264790Sbapt $$6 goto 44 481264790Sbapt 482264790Sbapt 483264790Sbaptstate 38 484264790Sbapt declarator : declarator '(' $$5 . formal_arg_list ')' cv_quals (36) 485264790Sbapt opt_scope : . (1) 486264790Sbapt formal_arg_list : . (37) 487264790Sbapt 488264790Sbapt EXTERN shift 5 489264790Sbapt REGISTER shift 6 490264790Sbapt STATIC shift 7 491264790Sbapt CONST shift 8 492264790Sbapt VOLATILE shift 9 493264790Sbapt CLCL shift 10 494264790Sbapt ID reduce 1 495264790Sbapt ')' reduce 37 496264790Sbapt 497264790Sbapt formal_arg goto 45 498264790Sbapt decl_specs goto 46 499264790Sbapt decl_spec goto 13 500264790Sbapt typename goto 14 501264790Sbapt cv_qual goto 15 502264790Sbapt opt_scope goto 16 503264790Sbapt formal_arg_list goto 47 504264790Sbapt nonempty_formal_arg_list goto 48 505264790Sbapt 506264790Sbapt 507264790Sbaptstate 39 508264790Sbapt declarator : declarator '[' $$5 . expr ']' (35) 509264790Sbapt 510264790Sbapt '*' shift 49 511264790Sbapt ID shift 50 512264790Sbapt CONSTANT shift 51 513264790Sbapt . error 514264790Sbapt 515264790Sbapt expr goto 52 516264790Sbapt 517264790Sbapt 518264790Sbaptstate 40 519264790Sbapt block_statement : '{' . $$2 statement_list '}' (61) 520264790Sbapt $$2 : . (8) 521264790Sbapt 522264790Sbapt . reduce 8 523264790Sbapt 524264790Sbapt $$2 goto 53 525264790Sbapt 526264790Sbapt 527264790Sbaptstate 41 528264790Sbapt decl : decl_specs $$2 $$3 declarator $$4 block_statement . (13) 529264790Sbapt 530264790Sbapt . reduce 13 531264790Sbapt 532264790Sbapt 533264790Sbapt42: shift/reduce conflict (shift 23, reduce 29) on '(' 534264790Sbaptstate 42 535264790Sbapt declarator : '*' cv_quals $$5 $$6 . declarator (34) 536264790Sbapt declarator : . (29) 537264790Sbapt 538264790Sbapt '*' shift 22 539264790Sbapt '(' [trial] shift 23 540264790Sbapt ID shift 24 541264790Sbapt '(' [trial] reduce 29 542264790Sbapt '[' reduce 29 543264790Sbapt ';' reduce 29 544264790Sbapt ',' reduce 29 545264790Sbapt ')' reduce 29 546264790Sbapt '{' reduce 29 547264790Sbapt 548264790Sbapt declarator goto 54 549264790Sbapt 550264790Sbapt 551264790Sbaptstate 43 552264790Sbapt declarator : '(' $$7 $$8 declarator . ')' (33) 553264790Sbapt declarator : declarator . '[' $$5 expr ']' (35) 554264790Sbapt declarator : declarator . '(' $$5 formal_arg_list ')' cv_quals (36) 555264790Sbapt 556264790Sbapt '(' shift 31 557264790Sbapt '[' shift 32 558264790Sbapt ')' shift 55 559264790Sbapt . error 560264790Sbapt 561264790Sbapt 562264790Sbapt44: shift/reduce conflict (shift 23, reduce 29) on '(' 563264790Sbaptstate 44 564264790Sbapt declarator_list : declarator_list ',' $$5 $$6 . declarator (27) 565264790Sbapt declarator : . (29) 566264790Sbapt 567264790Sbapt '*' shift 22 568264790Sbapt '(' [trial] shift 23 569264790Sbapt ID shift 24 570264790Sbapt '(' [trial] reduce 29 571264790Sbapt '[' reduce 29 572264790Sbapt ';' reduce 29 573264790Sbapt ',' reduce 29 574264790Sbapt 575264790Sbapt declarator goto 56 576264790Sbapt 577264790Sbapt 578264790Sbaptstate 45 579264790Sbapt nonempty_formal_arg_list : formal_arg . (40) 580264790Sbapt 581264790Sbapt . reduce 40 582264790Sbapt 583264790Sbapt 584264790Sbaptstate 46 585264790Sbapt decl_specs : decl_specs . $$2 decl_spec (15) 586264790Sbapt formal_arg : decl_specs . $$2 $$3 declarator (41) 587264790Sbapt $$2 : . (8) 588264790Sbapt 589264790Sbapt . reduce 8 590264790Sbapt 591264790Sbapt $$2 goto 57 592264790Sbapt 593264790Sbapt 594264790Sbaptstate 47 595264790Sbapt declarator : declarator '(' $$5 formal_arg_list . ')' cv_quals (36) 596264790Sbapt 597264790Sbapt ')' shift 58 598264790Sbapt . error 599264790Sbapt 600264790Sbapt 601264790Sbaptstate 48 602264790Sbapt formal_arg_list : nonempty_formal_arg_list . (38) 603264790Sbapt nonempty_formal_arg_list : nonempty_formal_arg_list . ',' $$7 formal_arg (39) 604264790Sbapt 605264790Sbapt ',' shift 59 606264790Sbapt ')' reduce 38 607264790Sbapt 608264790Sbapt 609264790Sbaptstate 49 610264790Sbapt expr : '*' . $$2 expr (47) 611264790Sbapt $$2 : . (8) 612264790Sbapt 613264790Sbapt . reduce 8 614264790Sbapt 615264790Sbapt $$2 goto 60 616264790Sbapt 617264790Sbapt 618264790Sbaptstate 50 619264790Sbapt expr : ID . (48) 620264790Sbapt 621264790Sbapt . reduce 48 622264790Sbapt 623264790Sbapt 624264790Sbaptstate 51 625264790Sbapt expr : CONSTANT . (49) 626264790Sbapt 627264790Sbapt . reduce 49 628264790Sbapt 629264790Sbapt 630264790Sbaptstate 52 631264790Sbapt declarator : declarator '[' $$5 expr . ']' (35) 632264790Sbapt expr : expr . '+' $$7 expr (42) 633264790Sbapt expr : expr . '-' $$7 expr (43) 634264790Sbapt expr : expr . '*' $$7 expr (44) 635264790Sbapt expr : expr . '%' $$7 expr (45) 636264790Sbapt expr : expr . '/' $$7 expr (46) 637264790Sbapt 638264790Sbapt '+' shift 61 639264790Sbapt '-' shift 62 640264790Sbapt '*' shift 63 641264790Sbapt '/' shift 64 642264790Sbapt '%' shift 65 643264790Sbapt ']' shift 66 644264790Sbapt . error 645264790Sbapt 646264790Sbapt 647264790Sbaptstate 53 648264790Sbapt block_statement : '{' $$2 . statement_list '}' (61) 649264790Sbapt statement_list : . (59) 650264790Sbapt 651264790Sbapt . reduce 59 652264790Sbapt 653264790Sbapt statement_list goto 67 654264790Sbapt 655264790Sbapt 656264790Sbaptstate 54 657264790Sbapt declarator : '*' cv_quals $$5 $$6 declarator . (34) 658264790Sbapt declarator : declarator . '[' $$5 expr ']' (35) 659264790Sbapt declarator : declarator . '(' $$5 formal_arg_list ')' cv_quals (36) 660264790Sbapt 661264790Sbapt '(' shift 31 662264790Sbapt '[' shift 32 663264790Sbapt ';' reduce 34 664264790Sbapt ',' reduce 34 665264790Sbapt ')' reduce 34 666264790Sbapt '{' reduce 34 667264790Sbapt 668264790Sbapt 669264790Sbaptstate 55 670264790Sbapt declarator : '(' $$7 $$8 declarator ')' . (33) 671264790Sbapt 672264790Sbapt . reduce 33 673264790Sbapt 674264790Sbapt 675264790Sbaptstate 56 676264790Sbapt declarator_list : declarator_list ',' $$5 $$6 declarator . (27) 677264790Sbapt declarator : declarator . '[' $$5 expr ']' (35) 678264790Sbapt declarator : declarator . '(' $$5 formal_arg_list ')' cv_quals (36) 679264790Sbapt 680264790Sbapt '(' shift 31 681264790Sbapt '[' shift 32 682264790Sbapt ';' reduce 27 683264790Sbapt ',' reduce 27 684264790Sbapt 685264790Sbapt 686264790Sbapt57: reduce/reduce conflict (reduce 1, reduce 10) on ID 687264790Sbaptstate 57 688264790Sbapt decl_specs : decl_specs $$2 . decl_spec (15) 689264790Sbapt formal_arg : decl_specs $$2 . $$3 declarator (41) 690264790Sbapt opt_scope : . (1) 691264790Sbapt $$3 : . (10) 692264790Sbapt 693264790Sbapt EXTERN shift 5 694264790Sbapt REGISTER shift 6 695264790Sbapt STATIC shift 7 696264790Sbapt CONST shift 8 697264790Sbapt VOLATILE shift 9 698264790Sbapt CLCL shift 10 699264790Sbapt '*' reduce 10 700264790Sbapt '(' reduce 10 701264790Sbapt '[' reduce 10 702264790Sbapt ID [trial] reduce 1 703264790Sbapt ID [trial] reduce 10 704264790Sbapt ',' reduce 10 705264790Sbapt ')' reduce 10 706264790Sbapt 707264790Sbapt decl_spec goto 19 708264790Sbapt typename goto 14 709264790Sbapt cv_qual goto 15 710264790Sbapt opt_scope goto 16 711264790Sbapt $$3 goto 68 712264790Sbapt 713264790Sbapt 714264790Sbaptstate 58 715264790Sbapt declarator : declarator '(' $$5 formal_arg_list ')' . cv_quals (36) 716264790Sbapt cv_quals : . (16) 717264790Sbapt 718264790Sbapt . reduce 16 719264790Sbapt 720264790Sbapt cv_quals goto 69 721264790Sbapt 722264790Sbapt 723264790Sbaptstate 59 724264790Sbapt nonempty_formal_arg_list : nonempty_formal_arg_list ',' . $$7 formal_arg (39) 725264790Sbapt $$7 : . (31) 726264790Sbapt 727264790Sbapt . reduce 31 728264790Sbapt 729264790Sbapt $$7 goto 70 730264790Sbapt 731264790Sbapt 732264790Sbaptstate 60 733264790Sbapt expr : '*' $$2 . expr (47) 734264790Sbapt 735264790Sbapt '*' shift 49 736264790Sbapt ID shift 50 737264790Sbapt CONSTANT shift 51 738264790Sbapt . error 739264790Sbapt 740264790Sbapt expr goto 71 741264790Sbapt 742264790Sbapt 743264790Sbaptstate 61 744264790Sbapt expr : expr '+' . $$7 expr (42) 745264790Sbapt $$7 : . (31) 746264790Sbapt 747264790Sbapt . reduce 31 748264790Sbapt 749264790Sbapt $$7 goto 72 750264790Sbapt 751264790Sbapt 752264790Sbaptstate 62 753264790Sbapt expr : expr '-' . $$7 expr (43) 754264790Sbapt $$7 : . (31) 755264790Sbapt 756264790Sbapt . reduce 31 757264790Sbapt 758264790Sbapt $$7 goto 73 759264790Sbapt 760264790Sbapt 761264790Sbaptstate 63 762264790Sbapt expr : expr '*' . $$7 expr (44) 763264790Sbapt $$7 : . (31) 764264790Sbapt 765264790Sbapt . reduce 31 766264790Sbapt 767264790Sbapt $$7 goto 74 768264790Sbapt 769264790Sbapt 770264790Sbaptstate 64 771264790Sbapt expr : expr '/' . $$7 expr (46) 772264790Sbapt $$7 : . (31) 773264790Sbapt 774264790Sbapt . reduce 31 775264790Sbapt 776264790Sbapt $$7 goto 75 777264790Sbapt 778264790Sbapt 779264790Sbaptstate 65 780264790Sbapt expr : expr '%' . $$7 expr (45) 781264790Sbapt $$7 : . (31) 782264790Sbapt 783264790Sbapt . reduce 31 784264790Sbapt 785264790Sbapt $$7 goto 76 786264790Sbapt 787264790Sbapt 788264790Sbaptstate 66 789264790Sbapt declarator : declarator '[' $$5 expr ']' . (35) 790264790Sbapt 791264790Sbapt . reduce 35 792264790Sbapt 793264790Sbapt 794264790Sbaptstate 67 795264790Sbapt statement_list : statement_list . $$2 statement (60) 796264790Sbapt block_statement : '{' $$2 statement_list . '}' (61) 797264790Sbapt $$2 : . (8) 798264790Sbapt 799264790Sbapt '}' shift 77 800264790Sbapt '*' reduce 8 801264790Sbapt ID reduce 8 802264790Sbapt CONSTANT reduce 8 803264790Sbapt EXTERN reduce 8 804264790Sbapt REGISTER reduce 8 805264790Sbapt STATIC reduce 8 806264790Sbapt CONST reduce 8 807264790Sbapt VOLATILE reduce 8 808264790Sbapt IF reduce 8 809264790Sbapt CLCL reduce 8 810264790Sbapt '{' reduce 8 811264790Sbapt 812264790Sbapt $$2 goto 78 813264790Sbapt 814264790Sbapt 815264790Sbapt68: shift/reduce conflict (shift 23, reduce 29) on '(' 816264790Sbaptstate 68 817264790Sbapt formal_arg : decl_specs $$2 $$3 . declarator (41) 818264790Sbapt declarator : . (29) 819264790Sbapt 820264790Sbapt '*' shift 22 821264790Sbapt '(' [trial] shift 23 822264790Sbapt ID shift 24 823264790Sbapt '(' [trial] reduce 29 824264790Sbapt '[' reduce 29 825264790Sbapt ',' reduce 29 826264790Sbapt ')' reduce 29 827264790Sbapt 828264790Sbapt declarator goto 79 829264790Sbapt 830264790Sbapt 831264790Sbaptstate 69 832264790Sbapt cv_quals : cv_quals . cv_qual (17) 833264790Sbapt declarator : declarator '(' $$5 formal_arg_list ')' cv_quals . (36) 834264790Sbapt 835264790Sbapt CONST shift 8 836264790Sbapt VOLATILE shift 9 837264790Sbapt '(' reduce 36 838264790Sbapt '[' reduce 36 839264790Sbapt ';' reduce 36 840264790Sbapt ',' reduce 36 841264790Sbapt ')' reduce 36 842264790Sbapt '{' reduce 36 843264790Sbapt 844264790Sbapt cv_qual goto 34 845264790Sbapt 846264790Sbapt 847264790Sbaptstate 70 848264790Sbapt nonempty_formal_arg_list : nonempty_formal_arg_list ',' $$7 . formal_arg (39) 849264790Sbapt opt_scope : . (1) 850264790Sbapt 851264790Sbapt EXTERN shift 5 852264790Sbapt REGISTER shift 6 853264790Sbapt STATIC shift 7 854264790Sbapt CONST shift 8 855264790Sbapt VOLATILE shift 9 856264790Sbapt CLCL shift 10 857264790Sbapt ID reduce 1 858264790Sbapt 859264790Sbapt formal_arg goto 80 860264790Sbapt decl_specs goto 46 861264790Sbapt decl_spec goto 13 862264790Sbapt typename goto 14 863264790Sbapt cv_qual goto 15 864264790Sbapt opt_scope goto 16 865264790Sbapt 866264790Sbapt 867264790Sbaptstate 71 868264790Sbapt expr : expr . '+' $$7 expr (42) 869264790Sbapt expr : expr . '-' $$7 expr (43) 870264790Sbapt expr : expr . '*' $$7 expr (44) 871264790Sbapt expr : expr . '%' $$7 expr (45) 872264790Sbapt expr : expr . '/' $$7 expr (46) 873264790Sbapt expr : '*' $$2 expr . (47) 874264790Sbapt 875264790Sbapt . reduce 47 876264790Sbapt 877264790Sbapt 878264790Sbaptstate 72 879264790Sbapt expr : expr '+' $$7 . expr (42) 880264790Sbapt 881264790Sbapt '*' shift 49 882264790Sbapt ID shift 50 883264790Sbapt CONSTANT shift 51 884264790Sbapt . error 885264790Sbapt 886264790Sbapt expr goto 81 887264790Sbapt 888264790Sbapt 889264790Sbaptstate 73 890264790Sbapt expr : expr '-' $$7 . expr (43) 891264790Sbapt 892264790Sbapt '*' shift 49 893264790Sbapt ID shift 50 894264790Sbapt CONSTANT shift 51 895264790Sbapt . error 896264790Sbapt 897264790Sbapt expr goto 82 898264790Sbapt 899264790Sbapt 900264790Sbaptstate 74 901264790Sbapt expr : expr '*' $$7 . expr (44) 902264790Sbapt 903264790Sbapt '*' shift 49 904264790Sbapt ID shift 50 905264790Sbapt CONSTANT shift 51 906264790Sbapt . error 907264790Sbapt 908264790Sbapt expr goto 83 909264790Sbapt 910264790Sbapt 911264790Sbaptstate 75 912264790Sbapt expr : expr '/' $$7 . expr (46) 913264790Sbapt 914264790Sbapt '*' shift 49 915264790Sbapt ID shift 50 916264790Sbapt CONSTANT shift 51 917264790Sbapt . error 918264790Sbapt 919264790Sbapt expr goto 84 920264790Sbapt 921264790Sbapt 922264790Sbaptstate 76 923264790Sbapt expr : expr '%' $$7 . expr (45) 924264790Sbapt 925264790Sbapt '*' shift 49 926264790Sbapt ID shift 50 927264790Sbapt CONSTANT shift 51 928264790Sbapt . error 929264790Sbapt 930264790Sbapt expr goto 85 931264790Sbapt 932264790Sbapt 933264790Sbaptstate 77 934264790Sbapt block_statement : '{' $$2 statement_list '}' . (61) 935264790Sbapt 936264790Sbapt . reduce 61 937264790Sbapt 938264790Sbapt 939264790Sbapt78: reduce/reduce conflict (reduce 1, reduce 51) on ID 940264790Sbaptstate 78 941264790Sbapt statement_list : statement_list $$2 . statement (60) 942264790Sbapt opt_scope : . (1) 943264790Sbapt $$9 : . (51) 944264790Sbapt $$12 : . (57) 945264790Sbapt 946264790Sbapt EXTERN shift 5 947264790Sbapt REGISTER shift 6 948264790Sbapt STATIC shift 7 949264790Sbapt CONST shift 8 950264790Sbapt VOLATILE shift 9 951264790Sbapt IF shift 86 952264790Sbapt CLCL shift 10 953264790Sbapt '*' reduce 51 954264790Sbapt ID [trial] reduce 1 955264790Sbapt ID [trial] reduce 51 956264790Sbapt CONSTANT reduce 51 957264790Sbapt '{' reduce 57 958264790Sbapt 959264790Sbapt decl goto 87 960264790Sbapt statement goto 88 961264790Sbapt decl_specs goto 12 962264790Sbapt decl_spec goto 13 963264790Sbapt typename goto 14 964264790Sbapt cv_qual goto 15 965264790Sbapt opt_scope goto 16 966264790Sbapt $$9 goto 89 967264790Sbapt $$12 goto 90 968264790Sbapt 969264790Sbapt 970264790Sbaptstate 79 971264790Sbapt declarator : declarator . '[' $$5 expr ']' (35) 972264790Sbapt declarator : declarator . '(' $$5 formal_arg_list ')' cv_quals (36) 973264790Sbapt formal_arg : decl_specs $$2 $$3 declarator . (41) 974264790Sbapt 975264790Sbapt '(' shift 31 976264790Sbapt '[' shift 32 977264790Sbapt ',' reduce 41 978264790Sbapt ')' reduce 41 979264790Sbapt 980264790Sbapt 981264790Sbaptstate 80 982264790Sbapt nonempty_formal_arg_list : nonempty_formal_arg_list ',' $$7 formal_arg . (39) 983264790Sbapt 984264790Sbapt . reduce 39 985264790Sbapt 986264790Sbapt 987264790Sbaptstate 81 988264790Sbapt expr : expr . '+' $$7 expr (42) 989264790Sbapt expr : expr '+' $$7 expr . (42) 990264790Sbapt expr : expr . '-' $$7 expr (43) 991264790Sbapt expr : expr . '*' $$7 expr (44) 992264790Sbapt expr : expr . '%' $$7 expr (45) 993264790Sbapt expr : expr . '/' $$7 expr (46) 994264790Sbapt 995264790Sbapt '*' shift 63 996264790Sbapt '/' shift 64 997264790Sbapt '%' shift 65 998264790Sbapt '+' reduce 42 999264790Sbapt '-' reduce 42 1000264790Sbapt ';' reduce 42 1001264790Sbapt ')' reduce 42 1002264790Sbapt ']' reduce 42 1003264790Sbapt 1004264790Sbapt 1005264790Sbaptstate 82 1006264790Sbapt expr : expr . '+' $$7 expr (42) 1007264790Sbapt expr : expr . '-' $$7 expr (43) 1008264790Sbapt expr : expr '-' $$7 expr . (43) 1009264790Sbapt expr : expr . '*' $$7 expr (44) 1010264790Sbapt expr : expr . '%' $$7 expr (45) 1011264790Sbapt expr : expr . '/' $$7 expr (46) 1012264790Sbapt 1013264790Sbapt '*' shift 63 1014264790Sbapt '/' shift 64 1015264790Sbapt '%' shift 65 1016264790Sbapt '+' reduce 43 1017264790Sbapt '-' reduce 43 1018264790Sbapt ';' reduce 43 1019264790Sbapt ')' reduce 43 1020264790Sbapt ']' reduce 43 1021264790Sbapt 1022264790Sbapt 1023264790Sbaptstate 83 1024264790Sbapt expr : expr . '+' $$7 expr (42) 1025264790Sbapt expr : expr . '-' $$7 expr (43) 1026264790Sbapt expr : expr . '*' $$7 expr (44) 1027264790Sbapt expr : expr '*' $$7 expr . (44) 1028264790Sbapt expr : expr . '%' $$7 expr (45) 1029264790Sbapt expr : expr . '/' $$7 expr (46) 1030264790Sbapt 1031264790Sbapt . reduce 44 1032264790Sbapt 1033264790Sbapt 1034264790Sbaptstate 84 1035264790Sbapt expr : expr . '+' $$7 expr (42) 1036264790Sbapt expr : expr . '-' $$7 expr (43) 1037264790Sbapt expr : expr . '*' $$7 expr (44) 1038264790Sbapt expr : expr . '%' $$7 expr (45) 1039264790Sbapt expr : expr . '/' $$7 expr (46) 1040264790Sbapt expr : expr '/' $$7 expr . (46) 1041264790Sbapt 1042264790Sbapt . reduce 46 1043264790Sbapt 1044264790Sbapt 1045264790Sbaptstate 85 1046264790Sbapt expr : expr . '+' $$7 expr (42) 1047264790Sbapt expr : expr . '-' $$7 expr (43) 1048264790Sbapt expr : expr . '*' $$7 expr (44) 1049264790Sbapt expr : expr . '%' $$7 expr (45) 1050264790Sbapt expr : expr '%' $$7 expr . (45) 1051264790Sbapt expr : expr . '/' $$7 expr (46) 1052264790Sbapt 1053264790Sbapt . reduce 45 1054264790Sbapt 1055264790Sbapt 1056264790Sbaptstate 86 1057264790Sbapt statement : IF . '(' $$7 expr ')' THEN $$10 statement ELSE $$11 statement (55) 1058264790Sbapt statement : IF . '(' $$7 expr ')' THEN $$10 statement (56) 1059264790Sbapt 1060264790Sbapt '(' shift 91 1061264790Sbapt . error 1062264790Sbapt 1063264790Sbapt 1064264790Sbaptstate 87 1065264790Sbapt statement : decl . (50) 1066264790Sbapt 1067264790Sbapt . reduce 50 1068264790Sbapt 1069264790Sbapt 1070264790Sbaptstate 88 1071264790Sbapt statement_list : statement_list $$2 statement . (60) 1072264790Sbapt 1073264790Sbapt . reduce 60 1074264790Sbapt 1075264790Sbapt 1076264790Sbaptstate 89 1077264790Sbapt statement : $$9 . expr ';' (52) 1078264790Sbapt 1079264790Sbapt '*' shift 49 1080264790Sbapt ID shift 50 1081264790Sbapt CONSTANT shift 51 1082264790Sbapt . error 1083264790Sbapt 1084264790Sbapt expr goto 92 1085264790Sbapt 1086264790Sbapt 1087264790Sbaptstate 90 1088264790Sbapt statement : $$12 . block_statement (58) 1089264790Sbapt 1090264790Sbapt '{' shift 40 1091264790Sbapt . error 1092264790Sbapt 1093264790Sbapt block_statement goto 93 1094264790Sbapt 1095264790Sbapt 1096264790Sbaptstate 91 1097264790Sbapt statement : IF '(' . $$7 expr ')' THEN $$10 statement ELSE $$11 statement (55) 1098264790Sbapt statement : IF '(' . $$7 expr ')' THEN $$10 statement (56) 1099264790Sbapt $$7 : . (31) 1100264790Sbapt 1101264790Sbapt . reduce 31 1102264790Sbapt 1103264790Sbapt $$7 goto 94 1104264790Sbapt 1105264790Sbapt 1106264790Sbaptstate 92 1107264790Sbapt expr : expr . '+' $$7 expr (42) 1108264790Sbapt expr : expr . '-' $$7 expr (43) 1109264790Sbapt expr : expr . '*' $$7 expr (44) 1110264790Sbapt expr : expr . '%' $$7 expr (45) 1111264790Sbapt expr : expr . '/' $$7 expr (46) 1112264790Sbapt statement : $$9 expr . ';' (52) 1113264790Sbapt 1114264790Sbapt '+' shift 61 1115264790Sbapt '-' shift 62 1116264790Sbapt '*' shift 63 1117264790Sbapt '/' shift 64 1118264790Sbapt '%' shift 65 1119264790Sbapt ';' shift 95 1120264790Sbapt . error 1121264790Sbapt 1122264790Sbapt 1123264790Sbaptstate 93 1124264790Sbapt statement : $$12 block_statement . (58) 1125264790Sbapt 1126264790Sbapt . reduce 58 1127264790Sbapt 1128264790Sbapt 1129264790Sbaptstate 94 1130264790Sbapt statement : IF '(' $$7 . expr ')' THEN $$10 statement ELSE $$11 statement (55) 1131264790Sbapt statement : IF '(' $$7 . expr ')' THEN $$10 statement (56) 1132264790Sbapt 1133264790Sbapt '*' shift 49 1134264790Sbapt ID shift 50 1135264790Sbapt CONSTANT shift 51 1136264790Sbapt . error 1137264790Sbapt 1138264790Sbapt expr goto 96 1139264790Sbapt 1140264790Sbapt 1141264790Sbaptstate 95 1142264790Sbapt statement : $$9 expr ';' . (52) 1143264790Sbapt 1144264790Sbapt . reduce 52 1145264790Sbapt 1146264790Sbapt 1147264790Sbaptstate 96 1148264790Sbapt expr : expr . '+' $$7 expr (42) 1149264790Sbapt expr : expr . '-' $$7 expr (43) 1150264790Sbapt expr : expr . '*' $$7 expr (44) 1151264790Sbapt expr : expr . '%' $$7 expr (45) 1152264790Sbapt expr : expr . '/' $$7 expr (46) 1153264790Sbapt statement : IF '(' $$7 expr . ')' THEN $$10 statement ELSE $$11 statement (55) 1154264790Sbapt statement : IF '(' $$7 expr . ')' THEN $$10 statement (56) 1155264790Sbapt 1156264790Sbapt '+' shift 61 1157264790Sbapt '-' shift 62 1158264790Sbapt '*' shift 63 1159264790Sbapt '/' shift 64 1160264790Sbapt '%' shift 65 1161264790Sbapt ')' shift 97 1162264790Sbapt . error 1163264790Sbapt 1164264790Sbapt 1165264790Sbaptstate 97 1166264790Sbapt statement : IF '(' $$7 expr ')' . THEN $$10 statement ELSE $$11 statement (55) 1167264790Sbapt statement : IF '(' $$7 expr ')' . THEN $$10 statement (56) 1168264790Sbapt 1169264790Sbapt THEN shift 98 1170264790Sbapt . error 1171264790Sbapt 1172264790Sbapt 1173264790Sbaptstate 98 1174264790Sbapt statement : IF '(' $$7 expr ')' THEN . $$10 statement ELSE $$11 statement (55) 1175264790Sbapt statement : IF '(' $$7 expr ')' THEN . $$10 statement (56) 1176264790Sbapt $$10 : . (53) 1177264790Sbapt 1178264790Sbapt . reduce 53 1179264790Sbapt 1180264790Sbapt $$10 goto 99 1181264790Sbapt 1182264790Sbapt 1183264790Sbapt99: reduce/reduce conflict (reduce 1, reduce 51) on ID 1184264790Sbaptstate 99 1185264790Sbapt statement : IF '(' $$7 expr ')' THEN $$10 . statement ELSE $$11 statement (55) 1186264790Sbapt statement : IF '(' $$7 expr ')' THEN $$10 . statement (56) 1187264790Sbapt opt_scope : . (1) 1188264790Sbapt $$9 : . (51) 1189264790Sbapt $$12 : . (57) 1190264790Sbapt 1191264790Sbapt EXTERN shift 5 1192264790Sbapt REGISTER shift 6 1193264790Sbapt STATIC shift 7 1194264790Sbapt CONST shift 8 1195264790Sbapt VOLATILE shift 9 1196264790Sbapt IF shift 86 1197264790Sbapt CLCL shift 10 1198264790Sbapt '*' reduce 51 1199264790Sbapt ID [trial] reduce 1 1200264790Sbapt ID [trial] reduce 51 1201264790Sbapt CONSTANT reduce 51 1202264790Sbapt '{' reduce 57 1203264790Sbapt 1204264790Sbapt decl goto 87 1205264790Sbapt statement goto 100 1206264790Sbapt decl_specs goto 12 1207264790Sbapt decl_spec goto 13 1208264790Sbapt typename goto 14 1209264790Sbapt cv_qual goto 15 1210264790Sbapt opt_scope goto 16 1211264790Sbapt $$9 goto 89 1212264790Sbapt $$12 goto 90 1213264790Sbapt 1214264790Sbapt 1215264790Sbapt100: shift/reduce conflict (shift 101, reduce 56) on ELSE 1216264790Sbaptstate 100 1217264790Sbapt statement : IF '(' $$7 expr ')' THEN $$10 statement . ELSE $$11 statement (55) 1218264790Sbapt statement : IF '(' $$7 expr ')' THEN $$10 statement . (56) 1219264790Sbapt 1220264790Sbapt ELSE [trial] shift 101 1221264790Sbapt '*' reduce 56 1222264790Sbapt ID reduce 56 1223264790Sbapt CONSTANT reduce 56 1224264790Sbapt EXTERN reduce 56 1225264790Sbapt REGISTER reduce 56 1226264790Sbapt STATIC reduce 56 1227264790Sbapt CONST reduce 56 1228264790Sbapt VOLATILE reduce 56 1229264790Sbapt IF reduce 56 1230264790Sbapt ELSE [trial] reduce 56 1231264790Sbapt CLCL reduce 56 1232264790Sbapt '{' reduce 56 1233264790Sbapt '}' reduce 56 1234264790Sbapt 1235264790Sbapt 1236264790Sbaptstate 101 1237264790Sbapt statement : IF '(' $$7 expr ')' THEN $$10 statement ELSE . $$11 statement (55) 1238264790Sbapt $$11 : . (54) 1239264790Sbapt 1240264790Sbapt . reduce 54 1241264790Sbapt 1242264790Sbapt $$11 goto 102 1243264790Sbapt 1244264790Sbapt 1245264790Sbapt102: reduce/reduce conflict (reduce 1, reduce 51) on ID 1246264790Sbaptstate 102 1247264790Sbapt statement : IF '(' $$7 expr ')' THEN $$10 statement ELSE $$11 . statement (55) 1248264790Sbapt opt_scope : . (1) 1249264790Sbapt $$9 : . (51) 1250264790Sbapt $$12 : . (57) 1251264790Sbapt 1252264790Sbapt EXTERN shift 5 1253264790Sbapt REGISTER shift 6 1254264790Sbapt STATIC shift 7 1255264790Sbapt CONST shift 8 1256264790Sbapt VOLATILE shift 9 1257264790Sbapt IF shift 86 1258264790Sbapt CLCL shift 10 1259264790Sbapt '*' reduce 51 1260264790Sbapt ID [trial] reduce 1 1261264790Sbapt ID [trial] reduce 51 1262264790Sbapt CONSTANT reduce 51 1263264790Sbapt '{' reduce 57 1264264790Sbapt 1265264790Sbapt decl goto 87 1266264790Sbapt statement goto 103 1267264790Sbapt decl_specs goto 12 1268264790Sbapt decl_spec goto 13 1269264790Sbapt typename goto 14 1270264790Sbapt cv_qual goto 15 1271264790Sbapt opt_scope goto 16 1272264790Sbapt $$9 goto 89 1273264790Sbapt $$12 goto 90 1274264790Sbapt 1275264790Sbapt 1276264790Sbaptstate 103 1277264790Sbapt statement : IF '(' $$7 expr ')' THEN $$10 statement ELSE $$11 statement . (55) 1278264790Sbapt 1279264790Sbapt . reduce 55 1280264790Sbapt 1281264790Sbapt 1282264790SbaptState 17 contains 1 reduce/reduce conflict. 1283264790SbaptState 18 contains 1 shift/reduce conflict. 1284264790SbaptState 20 contains 1 shift/reduce conflict. 1285264790SbaptState 36 contains 1 shift/reduce conflict. 1286264790SbaptState 42 contains 1 shift/reduce conflict. 1287264790SbaptState 44 contains 1 shift/reduce conflict. 1288264790SbaptState 57 contains 1 reduce/reduce conflict. 1289264790SbaptState 68 contains 1 shift/reduce conflict. 1290264790SbaptState 78 contains 1 reduce/reduce conflict. 1291264790SbaptState 99 contains 1 reduce/reduce conflict. 1292264790SbaptState 100 contains 1 shift/reduce conflict. 1293264790SbaptState 102 contains 1 reduce/reduce conflict. 1294264790Sbapt 1295264790Sbapt 1296264790Sbapt29 terminals, 31 nonterminals 1297264790Sbapt62 grammar rules, 104 states 1298264790Sbapt 1299264790Sbaptgrammar parser grammar 1300264790Sbaptsymbol# value# symbol 1301264790Sbapt 0 0 $end 1302264790Sbapt 1 256 error 1303264790Sbapt 2 43 '+' 1304264790Sbapt 3 45 '-' 1305264790Sbapt 4 42 '*' 1306264790Sbapt 5 47 '/' 1307264790Sbapt 6 37 '%' 1308264790Sbapt 7 257 PREFIX 1309264790Sbapt 8 258 POSTFIX 1310264790Sbapt 9 40 '(' 1311264790Sbapt 10 91 '[' 1312264790Sbapt 11 46 '.' 1313264790Sbapt 12 259 ID 1314264790Sbapt 13 260 CONSTANT 1315264790Sbapt 14 261 EXTERN 1316264790Sbapt 15 262 REGISTER 1317264790Sbapt 16 263 STATIC 1318264790Sbapt 17 264 CONST 1319264790Sbapt 18 265 VOLATILE 1320264790Sbapt 19 266 IF 1321264790Sbapt 20 267 THEN 1322264790Sbapt 21 268 ELSE 1323264790Sbapt 22 269 CLCL 1324264790Sbapt 23 59 ';' 1325264790Sbapt 24 44 ',' 1326264790Sbapt 25 41 ')' 1327264790Sbapt 26 93 ']' 1328264790Sbapt 27 123 '{' 1329264790Sbapt 28 125 '}' 1330264790Sbapt 29 270 $accept 1331264790Sbapt 30 271 input 1332264790Sbapt 31 272 expr 1333264790Sbapt 32 273 decl 1334264790Sbapt 33 274 declarator_list 1335264790Sbapt 34 275 decl_list 1336264790Sbapt 35 276 statement 1337264790Sbapt 36 277 statement_list 1338264790Sbapt 37 278 block_statement 1339264790Sbapt 38 279 declarator 1340264790Sbapt 39 280 formal_arg 1341264790Sbapt 40 281 decl_specs 1342264790Sbapt 41 282 decl_spec 1343264790Sbapt 42 283 typename 1344264790Sbapt 43 284 cv_quals 1345264790Sbapt 44 285 cv_qual 1346264790Sbapt 45 286 opt_scope 1347264790Sbapt 46 287 formal_arg_list 1348264790Sbapt 47 288 nonempty_formal_arg_list 1349264790Sbapt 48 289 $$1 1350264790Sbapt 49 290 $$2 1351264790Sbapt 50 291 $$3 1352264790Sbapt 51 292 $$4 1353264790Sbapt 52 293 $$5 1354264790Sbapt 53 294 $$6 1355264790Sbapt 54 295 $$7 1356264790Sbapt 55 296 $$8 1357264790Sbapt 56 297 $$9 1358264790Sbapt 57 298 $$10 1359264790Sbapt 58 299 $$11 1360264790Sbapt 59 300 $$12 1361