Terminals which are not used JUNK Grammar 0 $accept: file $end 1 file: admin tree desc edits 2 admin: head branch_opt suffix_opt access symbols locks strict_opt comment_opt expand_opt 3 head: HEAD NUMBER SEMI 4 branch: BRANCH numbers_opt SEMI 5 branch_opt: /* empty */ 6 | branch 7 suffix: SUFFIX IDENTIFIER SEMI 8 | SUFFIX STRING SEMI 9 suffix_opt: /* empty */ 10 | suffix 11 access: ACCESS identifiers_opt SEMI 12 symbols: SYMBOLS symbol_list SEMI 13 symbol_list: /* empty */ 14 | symbol_list symbol 15 symbol: IDENTIFIER COLON NUMBER 16 locks: LOCKS lock_list SEMI 17 lock_list: /* empty */ 18 | lock_list lock 19 lock: IDENTIFIER COLON NUMBER 20 strict: STRICT SEMI 21 strict_opt: /* empty */ 22 | strict 23 comment: COMMENT STRING SEMI 24 comment_opt: /* empty */ 25 | comment 26 expand: EXPAND strings_opt SEMI 27 expand_opt: /* empty */ 28 | expand 29 identifiers_opt: /* empty */ 30 | identifiers_opt IDENTIFIER 31 strings_opt: /* empty */ 32 | strings_opt STRING 33 tree: /* empty */ 34 | tree delta 35 delta: NUMBER date author state branch next 36 date: DATE NUMBER SEMI 37 author: AUTHOR IDENTIFIER SEMI 38 state: STATE IDENTIFIER SEMI 39 numbers_opt: /* empty */ 40 | numbers_opt NUMBER 41 next: NEXT NUMBER SEMI 42 | NEXT SEMI 43 desc: DESC STRING nosemi 44 edits: edit 45 | edits edit 46 edit: NUMBER log text 47 log: LOG STRING nosemi 48 text: TEXT STRING nosemi 49 nosemi: /* empty */ Terminals, with rules where they appear $end (0) 0 error (256) ACCESS (258) 11 AUTHOR (259) 37 BRANCH (260) 4 COLON (261) 15 19 COMMENT (262) 23 DATE (263) 36 DESC (264) 43 EXPAND (265) 26 HEAD (266) 3 IDENTIFIER (267) 7 15 19 30 37 38 JUNK (268) LOCKS (269) 16 LOG (270) 47 NEXT (271) 41 42 NUMBER (272) 3 15 19 35 36 40 41 46 SEMI (273) 3 4 7 8 11 12 16 20 23 26 36 37 38 41 42 STATE (274) 38 STRICT (275) 20 STRING (276) 8 23 32 43 47 48 SUFFIX (277) 7 8 SYMBOLS (278) 12 TEXT (279) 48 Nonterminals, with rules where they appear $accept (25) on left: 0 file (26) on left: 1, on right: 0 admin (27) on left: 2, on right: 1 head (28) on left: 3, on right: 2 branch (29) on left: 4, on right: 6 35 branch_opt (30) on left: 5 6, on right: 2 suffix (31) on left: 7 8, on right: 10 suffix_opt (32) on left: 9 10, on right: 2 access (33) on left: 11, on right: 2 symbols (34) on left: 12, on right: 2 symbol_list (35) on left: 13 14, on right: 12 14 symbol (36) on left: 15, on right: 14 locks (37) on left: 16, on right: 2 lock_list (38) on left: 17 18, on right: 16 18 lock (39) on left: 19, on right: 18 strict (40) on left: 20, on right: 22 strict_opt (41) on left: 21 22, on right: 2 comment (42) on left: 23, on right: 25 comment_opt (43) on left: 24 25, on right: 2 expand (44) on left: 26, on right: 28 expand_opt (45) on left: 27 28, on right: 2 identifiers_opt (46) on left: 29 30, on right: 11 30 strings_opt (47) on left: 31 32, on right: 26 32 tree (48) on left: 33 34, on right: 1 34 delta (49) on left: 35, on right: 34 date (50) on left: 36, on right: 35 author (51) on left: 37, on right: 35 state (52) on left: 38, on right: 35 numbers_opt (53) on left: 39 40, on right: 4 40 next (54) on left: 41 42, on right: 35 desc (55) on left: 43, on right: 1 edits (56) on left: 44 45, on right: 1 45 edit (57) on left: 46, on right: 44 45 log (58) on left: 47, on right: 46 text (59) on left: 48, on right: 46 nosemi (60) on left: 49, on right: 43 47 48 state 0 0 $accept: . file $end HEAD shift, and go to state 1 file go to state 2 admin go to state 3 head go to state 4 state 1 3 head: HEAD . NUMBER SEMI NUMBER shift, and go to state 5 state 2 0 $accept: file . $end $end shift, and go to state 6 state 3 1 file: admin . tree desc edits $default reduce using rule 33 (tree) tree go to state 7 state 4 2 admin: head . branch_opt suffix_opt access symbols locks strict_opt comment_opt expand_opt BRANCH shift, and go to state 8 $default reduce using rule 5 (branch_opt) branch go to state 9 branch_opt go to state 10 state 5 3 head: HEAD NUMBER . SEMI SEMI shift, and go to state 11 state 6 0 $accept: file $end . $default accept state 7 1 file: admin tree . desc edits 34 tree: tree . delta DESC shift, and go to state 12 NUMBER shift, and go to state 13 delta go to state 14 desc go to state 15 state 8 4 branch: BRANCH . numbers_opt SEMI $default reduce using rule 39 (numbers_opt) numbers_opt go to state 16 state 9 6 branch_opt: branch . $default reduce using rule 6 (branch_opt) state 10 2 admin: head branch_opt . suffix_opt access symbols locks strict_opt comment_opt expand_opt SUFFIX shift, and go to state 17 $default reduce using rule 9 (suffix_opt) suffix go to state 18 suffix_opt go to state 19 state 11 3 head: HEAD NUMBER SEMI . $default reduce using rule 3 (head) state 12 43 desc: DESC . STRING nosemi STRING shift, and go to state 20 state 13 35 delta: NUMBER . date author state branch next DATE shift, and go to state 21 date go to state 22 state 14 34 tree: tree delta . $default reduce using rule 34 (tree) state 15 1 file: admin tree desc . edits NUMBER shift, and go to state 23 edits go to state 24 edit go to state 25 state 16 4 branch: BRANCH numbers_opt . SEMI 40 numbers_opt: numbers_opt . NUMBER NUMBER shift, and go to state 26 SEMI shift, and go to state 27 state 17 7 suffix: SUFFIX . IDENTIFIER SEMI 8 | SUFFIX . STRING SEMI IDENTIFIER shift, and go to state 28 STRING shift, and go to state 29 state 18 10 suffix_opt: suffix . $default reduce using rule 10 (suffix_opt) state 19 2 admin: head branch_opt suffix_opt . access symbols locks strict_opt comment_opt expand_opt ACCESS shift, and go to state 30 access go to state 31 state 20 43 desc: DESC STRING . nosemi $default reduce using rule 49 (nosemi) nosemi go to state 32 state 21 36 date: DATE . NUMBER SEMI NUMBER shift, and go to state 33 state 22 35 delta: NUMBER date . author state branch next AUTHOR shift, and go to state 34 author go to state 35 state 23 46 edit: NUMBER . log text LOG shift, and go to state 36 log go to state 37 state 24 1 file: admin tree desc edits . 45 edits: edits . edit NUMBER shift, and go to state 23 $default reduce using rule 1 (file) edit go to state 38 state 25 44 edits: edit . $default reduce using rule 44 (edits) state 26 40 numbers_opt: numbers_opt NUMBER . $default reduce using rule 40 (numbers_opt) state 27 4 branch: BRANCH numbers_opt SEMI . $default reduce using rule 4 (branch) state 28 7 suffix: SUFFIX IDENTIFIER . SEMI SEMI shift, and go to state 39 state 29 8 suffix: SUFFIX STRING . SEMI SEMI shift, and go to state 40 state 30 11 access: ACCESS . identifiers_opt SEMI $default reduce using rule 29 (identifiers_opt) identifiers_opt go to state 41 state 31 2 admin: head branch_opt suffix_opt access . symbols locks strict_opt comment_opt expand_opt SYMBOLS shift, and go to state 42 symbols go to state 43 state 32 43 desc: DESC STRING nosemi . $default reduce using rule 43 (desc) state 33 36 date: DATE NUMBER . SEMI SEMI shift, and go to state 44 state 34 37 author: AUTHOR . IDENTIFIER SEMI IDENTIFIER shift, and go to state 45 state 35 35 delta: NUMBER date author . state branch next STATE shift, and go to state 46 state go to state 47 state 36 47 log: LOG . STRING nosemi STRING shift, and go to state 48 state 37 46 edit: NUMBER log . text TEXT shift, and go to state 49 text go to state 50 state 38 45 edits: edits edit . $default reduce using rule 45 (edits) state 39 7 suffix: SUFFIX IDENTIFIER SEMI . $default reduce using rule 7 (suffix) state 40 8 suffix: SUFFIX STRING SEMI . $default reduce using rule 8 (suffix) state 41 11 access: ACCESS identifiers_opt . SEMI 30 identifiers_opt: identifiers_opt . IDENTIFIER IDENTIFIER shift, and go to state 51 SEMI shift, and go to state 52 state 42 12 symbols: SYMBOLS . symbol_list SEMI $default reduce using rule 13 (symbol_list) symbol_list go to state 53 state 43 2 admin: head branch_opt suffix_opt access symbols . locks strict_opt comment_opt expand_opt LOCKS shift, and go to state 54 locks go to state 55 state 44 36 date: DATE NUMBER SEMI . $default reduce using rule 36 (date) state 45 37 author: AUTHOR IDENTIFIER . SEMI SEMI shift, and go to state 56 state 46 38 state: STATE . IDENTIFIER SEMI IDENTIFIER shift, and go to state 57 state 47 35 delta: NUMBER date author state . branch next BRANCH shift, and go to state 8 branch go to state 58 state 48 47 log: LOG STRING . nosemi $default reduce using rule 49 (nosemi) nosemi go to state 59 state 49 48 text: TEXT . STRING nosemi STRING shift, and go to state 60 state 50 46 edit: NUMBER log text . $default reduce using rule 46 (edit) state 51 30 identifiers_opt: identifiers_opt IDENTIFIER . $default reduce using rule 30 (identifiers_opt) state 52 11 access: ACCESS identifiers_opt SEMI . $default reduce using rule 11 (access) state 53 12 symbols: SYMBOLS symbol_list . SEMI 14 symbol_list: symbol_list . symbol IDENTIFIER shift, and go to state 61 SEMI shift, and go to state 62 symbol go to state 63 state 54 16 locks: LOCKS . lock_list SEMI $default reduce using rule 17 (lock_list) lock_list go to state 64 state 55 2 admin: head branch_opt suffix_opt access symbols locks . strict_opt comment_opt expand_opt STRICT shift, and go to state 65 $default reduce using rule 21 (strict_opt) strict go to state 66 strict_opt go to state 67 state 56 37 author: AUTHOR IDENTIFIER SEMI . $default reduce using rule 37 (author) state 57 38 state: STATE IDENTIFIER . SEMI SEMI shift, and go to state 68 state 58 35 delta: NUMBER date author state branch . next NEXT shift, and go to state 69 next go to state 70 state 59 47 log: LOG STRING nosemi . $default reduce using rule 47 (log) state 60 48 text: TEXT STRING . nosemi $default reduce using rule 49 (nosemi) nosemi go to state 71 state 61 15 symbol: IDENTIFIER . COLON NUMBER COLON shift, and go to state 72 state 62 12 symbols: SYMBOLS symbol_list SEMI . $default reduce using rule 12 (symbols) state 63 14 symbol_list: symbol_list symbol . $default reduce using rule 14 (symbol_list) state 64 16 locks: LOCKS lock_list . SEMI 18 lock_list: lock_list . lock IDENTIFIER shift, and go to state 73 SEMI shift, and go to state 74 lock go to state 75 state 65 20 strict: STRICT . SEMI SEMI shift, and go to state 76 state 66 22 strict_opt: strict . $default reduce using rule 22 (strict_opt) state 67 2 admin: head branch_opt suffix_opt access symbols locks strict_opt . comment_opt expand_opt COMMENT shift, and go to state 77 $default reduce using rule 24 (comment_opt) comment go to state 78 comment_opt go to state 79 state 68 38 state: STATE IDENTIFIER SEMI . $default reduce using rule 38 (state) state 69 41 next: NEXT . NUMBER SEMI 42 | NEXT . SEMI NUMBER shift, and go to state 80 SEMI shift, and go to state 81 state 70 35 delta: NUMBER date author state branch next . $default reduce using rule 35 (delta) state 71 48 text: TEXT STRING nosemi . $default reduce using rule 48 (text) state 72 15 symbol: IDENTIFIER COLON . NUMBER NUMBER shift, and go to state 82 state 73 19 lock: IDENTIFIER . COLON NUMBER COLON shift, and go to state 83 state 74 16 locks: LOCKS lock_list SEMI . $default reduce using rule 16 (locks) state 75 18 lock_list: lock_list lock . $default reduce using rule 18 (lock_list) state 76 20 strict: STRICT SEMI . $default reduce using rule 20 (strict) state 77 23 comment: COMMENT . STRING SEMI STRING shift, and go to state 84 state 78 25 comment_opt: comment . $default reduce using rule 25 (comment_opt) state 79 2 admin: head branch_opt suffix_opt access symbols locks strict_opt comment_opt . expand_opt EXPAND shift, and go to state 85 $default reduce using rule 27 (expand_opt) expand go to state 86 expand_opt go to state 87 state 80 41 next: NEXT NUMBER . SEMI SEMI shift, and go to state 88 state 81 42 next: NEXT SEMI . $default reduce using rule 42 (next) state 82 15 symbol: IDENTIFIER COLON NUMBER . $default reduce using rule 15 (symbol) state 83 19 lock: IDENTIFIER COLON . NUMBER NUMBER shift, and go to state 89 state 84 23 comment: COMMENT STRING . SEMI SEMI shift, and go to state 90 state 85 26 expand: EXPAND . strings_opt SEMI $default reduce using rule 31 (strings_opt) strings_opt go to state 91 state 86 28 expand_opt: expand . $default reduce using rule 28 (expand_opt) state 87 2 admin: head branch_opt suffix_opt access symbols locks strict_opt comment_opt expand_opt . $default reduce using rule 2 (admin) state 88 41 next: NEXT NUMBER SEMI . $default reduce using rule 41 (next) state 89 19 lock: IDENTIFIER COLON NUMBER . $default reduce using rule 19 (lock) state 90 23 comment: COMMENT STRING SEMI . $default reduce using rule 23 (comment) state 91 26 expand: EXPAND strings_opt . SEMI 32 strings_opt: strings_opt . STRING SEMI shift, and go to state 92 STRING shift, and go to state 93 state 92 26 expand: EXPAND strings_opt SEMI . $default reduce using rule 26 (expand) state 93 32 strings_opt: strings_opt STRING . $default reduce using rule 32 (strings_opt)