Subversion Repositories Vertical

Rev

Blame | Last modification | View Log | Download | RSS feed

State 2 contains 2 reduce/reduce conflicts.
State 6 contains 2 shift/reduce conflicts.
State 17 contains 1 shift/reduce conflict.


Grammar

  Number, Line, Rule
    1 111 padsfile -> PADSPCB gap PART NL part_section NET NL net_section END gap
    2 113 part_section -> part_section part_item
    3 114 part_section -> part_item
    4 115 part_section -> /* empty */
    5 118 part_item -> NL
    6 119 @1 -> /* empty */
    7 119 part_item -> ASTRING @1 several_words NL
    8 126 several_words -> word several_words
    9 127 several_words -> word
   10 131 word -> ASTRING
   11 134 net_section -> net_section net_item
   12 135 net_section -> net_item
   13 136 net_section -> /* empty */
   14 140 net_item -> SIGNAL net_name pins
   15 143 pins -> pins pin
   16 144 pins -> pin
   17 147 net_name -> ASTRING
   18 150 pin -> NL
   19 151 pin -> ASTRING '.' ASTRING
   20 157 gap -> NL gap
   21 158 gap -> NL
   22 159 gap -> /* empty */


Terminals, with rules where they appear

$ (-1)
'.' (46) 19
error (256)
PADSPCB (257) 1
PART (258) 1
NET (259) 1
SIGNAL (260) 14
END (261) 1
NL (262) 1 5 7 18 20 21
ASTRING (263) 7 10 17 19


Nonterminals, with rules where they appear

padsfile (11)
    on left: 1
part_section (12)
    on left: 2 3 4, on right: 1 2
part_item (13)
    on left: 5 7, on right: 2 3
@1 (14)
    on left: 6, on right: 7
several_words (15)
    on left: 8 9, on right: 7 8
word (16)
    on left: 10, on right: 8 9
net_section (17)
    on left: 11 12 13, on right: 1 11
net_item (18)
    on left: 14, on right: 11 12
pins (19)
    on left: 15 16, on right: 14 15
net_name (20)
    on left: 17, on right: 14
pin (21)
    on left: 18 19, on right: 15 16
gap (22)
    on left: 20 21 22, on right: 1 20


state 0

    PADSPCB     shift, and go to state 1

    padsfile    go to state 35



state 1

    padsfile  ->  PADSPCB . gap PART NL part_section NET NL net_section END gap   (rule 1)

    NL          shift, and go to state 2

    $default    reduce using rule 22 (gap)

    gap         go to state 3



state 2

    gap  ->  NL . gap   (rule 20)
    gap  ->  NL .   (rule 21)

    NL          shift, and go to state 2

    $           reduce using rule 21 (gap)
    $           [reduce using rule 22 (gap)]
    PART        reduce using rule 21 (gap)
    PART        [reduce using rule 22 (gap)]
    $default    reduce using rule 21 (gap)
    gap         go to state 4



state 3

    padsfile  ->  PADSPCB gap . PART NL part_section NET NL net_section END gap   (rule 1)

    PART        shift, and go to state 5



state 4

    gap  ->  NL gap .   (rule 20)

    $default    reduce using rule 20 (gap)



state 5

    padsfile  ->  PADSPCB gap PART . NL part_section NET NL net_section END gap   (rule 1)

    NL          shift, and go to state 6



state 6

    padsfile  ->  PADSPCB gap PART NL . part_section NET NL net_section END gap   (rule 1)

    NL          shift, and go to state 7
    ASTRING     shift, and go to state 8

    NL          [reduce using rule 4 (part_section)]
    ASTRING     [reduce using rule 4 (part_section)]
    $default    reduce using rule 4 (part_section)

    part_section        go to state 9
    part_item   go to state 10



state 7

    part_item  ->  NL .   (rule 5)

    $default    reduce using rule 5 (part_item)



state 8

    part_item  ->  ASTRING . @1 several_words NL   (rule 7)

    $default    reduce using rule 6 (@1)

    @1          go to state 11



state 9

    padsfile  ->  PADSPCB gap PART NL part_section . NET NL net_section END gap   (rule 1)
    part_section  ->  part_section . part_item   (rule 2)

    NET         shift, and go to state 12
    NL          shift, and go to state 7
    ASTRING     shift, and go to state 8

    part_item   go to state 13



state 10

    part_section  ->  part_item .   (rule 3)

    $default    reduce using rule 3 (part_section)



state 11

    part_item  ->  ASTRING @1 . several_words NL   (rule 7)

    ASTRING     shift, and go to state 14

    several_words       go to state 15
    word        go to state 16



state 12

    padsfile  ->  PADSPCB gap PART NL part_section NET . NL net_section END gap   (rule 1)

    NL          shift, and go to state 17



state 13

    part_section  ->  part_section part_item .   (rule 2)

    $default    reduce using rule 2 (part_section)



state 14

    word  ->  ASTRING .   (rule 10)

    $default    reduce using rule 10 (word)



state 15

    part_item  ->  ASTRING @1 several_words . NL   (rule 7)

    NL          shift, and go to state 18



state 16

    several_words  ->  word . several_words   (rule 8)
    several_words  ->  word .   (rule 9)

    ASTRING     shift, and go to state 14

    $default    reduce using rule 9 (several_words)

    several_words       go to state 19
    word        go to state 16



state 17

    padsfile  ->  PADSPCB gap PART NL part_section NET NL . net_section END gap   (rule 1)

    SIGNAL      shift, and go to state 20

    SIGNAL      [reduce using rule 13 (net_section)]
    $default    reduce using rule 13 (net_section)

    net_section go to state 21
    net_item    go to state 22



state 18

    part_item  ->  ASTRING @1 several_words NL .   (rule 7)

    $default    reduce using rule 7 (part_item)



state 19

    several_words  ->  word several_words .   (rule 8)

    $default    reduce using rule 8 (several_words)



state 20

    net_item  ->  SIGNAL . net_name pins   (rule 14)

    ASTRING     shift, and go to state 23

    net_name    go to state 24



state 21

    padsfile  ->  PADSPCB gap PART NL part_section NET NL net_section . END gap   (rule 1)
    net_section  ->  net_section . net_item   (rule 11)

    SIGNAL      shift, and go to state 20
    END         shift, and go to state 25

    net_item    go to state 26



state 22

    net_section  ->  net_item .   (rule 12)

    $default    reduce using rule 12 (net_section)



state 23

    net_name  ->  ASTRING .   (rule 17)

    $default    reduce using rule 17 (net_name)



state 24

    net_item  ->  SIGNAL net_name . pins   (rule 14)

    NL          shift, and go to state 27
    ASTRING     shift, and go to state 28

    pins        go to state 29
    pin         go to state 30



state 25

    padsfile  ->  PADSPCB gap PART NL part_section NET NL net_section END . gap   (rule 1)

    NL          shift, and go to state 2

    $default    reduce using rule 22 (gap)

    gap         go to state 31



state 26

    net_section  ->  net_section net_item .   (rule 11)

    $default    reduce using rule 11 (net_section)



state 27

    pin  ->  NL .   (rule 18)

    $default    reduce using rule 18 (pin)



state 28

    pin  ->  ASTRING . '.' ASTRING   (rule 19)

    '.'         shift, and go to state 32



state 29

    net_item  ->  SIGNAL net_name pins .   (rule 14)
    pins  ->  pins . pin   (rule 15)

    NL          shift, and go to state 27
    ASTRING     shift, and go to state 28

    $default    reduce using rule 14 (net_item)

    pin         go to state 33



state 30

    pins  ->  pin .   (rule 16)

    $default    reduce using rule 16 (pins)



state 31

    padsfile  ->  PADSPCB gap PART NL part_section NET NL net_section END gap .   (rule 1)

    $default    reduce using rule 1 (padsfile)



state 32

    pin  ->  ASTRING '.' . ASTRING   (rule 19)

    ASTRING     shift, and go to state 34



state 33

    pins  ->  pins pin .   (rule 15)

    $default    reduce using rule 15 (pins)



state 34

    pin  ->  ASTRING '.' ASTRING .   (rule 19)

    $default    reduce using rule 19 (pin)



state 35

    $           go to state 36



state 36

    $           go to state 37



state 37

    $default    accept