Subversion Repositories Vertical

Rev

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

State 0 contains 3 shift/reduce conflicts.
State 2 contains 1 shift/reduce conflict.
State 4 contains 3 shift/reduce conflicts and 1 reduce/reduce conflict.
State 8 contains 2 shift/reduce conflicts and 4 reduce/reduce conflicts.
State 14 contains 2 shift/reduce conflicts.


Grammar

  Number, Line, Rule
    1  69 file -> objects
    2  72 objects -> objects object
    3  73 objects -> object
    4  77 object -> net
    5  78 object -> gap
    6  82 net -> net_name pin_lines gap
    7  84 net_name -> ASTRING endline
    8  86 pin_lines -> pin_lines pin_line
    9  87 pin_lines -> pin_line
   10  91 pin_line -> SPACE ASTRING SPACE ASTRING endline
   11  96 endline -> CR
   12  97 endline -> CR LF
   13  98 endline -> LF
   14 102 gap -> endline gap
   15 103 gap -> endline
   16 104 gap -> /* empty */


Terminals, with rules where they appear

$ (-1)
error (256)
SPACE (257) 10
LF (258) 12 13
CR (259) 11 12
ASTRING (260) 7 10


Nonterminals, with rules where they appear

file (7)
    on left: 1
objects (8)
    on left: 2 3, on right: 1 2
object (9)
    on left: 4 5, on right: 2 3
net (10)
    on left: 6, on right: 4
net_name (11)
    on left: 7, on right: 6
pin_lines (12)
    on left: 8 9, on right: 6 8
pin_line (13)
    on left: 10, on right: 8 9
endline (14)
    on left: 11 12 13, on right: 7 10 14 15
gap (15)
    on left: 14 15 16, on right: 5 6 14


state 0

    LF          shift, and go to state 1
    CR          shift, and go to state 2
    ASTRING     shift, and go to state 3

    LF          [reduce using rule 16 (gap)]
    CR          [reduce using rule 16 (gap)]
    ASTRING     [reduce using rule 16 (gap)]
    $default    reduce using rule 16 (gap)

    file        go to state 23
    objects     go to state 4
    object      go to state 5
    net         go to state 6
    net_name    go to state 7
    endline     go to state 8
    gap         go to state 9



state 1

    endline  ->  LF .   (rule 13)

    $default    reduce using rule 13 (endline)



state 2

    endline  ->  CR .   (rule 11)
    endline  ->  CR . LF   (rule 12)

    LF          shift, and go to state 10

    LF          [reduce using rule 11 (endline)]
    $default    reduce using rule 11 (endline)



state 3

    net_name  ->  ASTRING . endline   (rule 7)

    LF          shift, and go to state 1
    CR          shift, and go to state 2

    endline     go to state 11



state 4

    file  ->  objects .   (rule 1)
    objects  ->  objects . object   (rule 2)

    LF          shift, and go to state 1
    CR          shift, and go to state 2
    ASTRING     shift, and go to state 3

    $           reduce using rule 1 (file)
    $           [reduce using rule 16 (gap)]
    LF          [reduce using rule 16 (gap)]
    CR          [reduce using rule 16 (gap)]
    ASTRING     [reduce using rule 16 (gap)]
    $default    reduce using rule 1 (file)
    object      go to state 12
    net         go to state 6
    net_name    go to state 7
    endline     go to state 8
    gap         go to state 9



state 5

    objects  ->  object .   (rule 3)

    $default    reduce using rule 3 (objects)



state 6

    object  ->  net .   (rule 4)

    $default    reduce using rule 4 (object)



state 7

    net  ->  net_name . pin_lines gap   (rule 6)

    SPACE       shift, and go to state 13

    pin_lines   go to state 14
    pin_line    go to state 15



state 8

    gap  ->  endline . gap   (rule 14)
    gap  ->  endline .   (rule 15)

    LF          shift, and go to state 1
    CR          shift, and go to state 2

    $           reduce using rule 15 (gap)
    $           [reduce using rule 16 (gap)]
    LF          [reduce using rule 15 (gap)]
    LF          [reduce using rule 16 (gap)]
    CR          [reduce using rule 15 (gap)]
    CR          [reduce using rule 16 (gap)]
    ASTRING     reduce using rule 15 (gap)
    ASTRING     [reduce using rule 16 (gap)]
    $default    reduce using rule 15 (gap)
    endline     go to state 8
    gap         go to state 16



state 9

    object  ->  gap .   (rule 5)

    $default    reduce using rule 5 (object)



state 10

    endline  ->  CR LF .   (rule 12)

    $default    reduce using rule 12 (endline)



state 11

    net_name  ->  ASTRING endline .   (rule 7)

    $default    reduce using rule 7 (net_name)



state 12

    objects  ->  objects object .   (rule 2)

    $default    reduce using rule 2 (objects)



state 13

    pin_line  ->  SPACE . ASTRING SPACE ASTRING endline   (rule 10)

    ASTRING     shift, and go to state 17



state 14

    net  ->  net_name pin_lines . gap   (rule 6)
    pin_lines  ->  pin_lines . pin_line   (rule 8)

    SPACE       shift, and go to state 13
    LF          shift, and go to state 1
    CR          shift, and go to state 2

    LF          [reduce using rule 16 (gap)]
    CR          [reduce using rule 16 (gap)]
    $default    reduce using rule 16 (gap)

    pin_line    go to state 18
    endline     go to state 8
    gap         go to state 19



state 15

    pin_lines  ->  pin_line .   (rule 9)

    $default    reduce using rule 9 (pin_lines)



state 16

    gap  ->  endline gap .   (rule 14)

    $default    reduce using rule 14 (gap)



state 17

    pin_line  ->  SPACE ASTRING . SPACE ASTRING endline   (rule 10)

    SPACE       shift, and go to state 20



state 18

    pin_lines  ->  pin_lines pin_line .   (rule 8)

    $default    reduce using rule 8 (pin_lines)



state 19

    net  ->  net_name pin_lines gap .   (rule 6)

    $default    reduce using rule 6 (net)



state 20

    pin_line  ->  SPACE ASTRING SPACE . ASTRING endline   (rule 10)

    ASTRING     shift, and go to state 21



state 21

    pin_line  ->  SPACE ASTRING SPACE ASTRING . endline   (rule 10)

    LF          shift, and go to state 1
    CR          shift, and go to state 2

    endline     go to state 22



state 22

    pin_line  ->  SPACE ASTRING SPACE ASTRING endline .   (rule 10)

    $default    reduce using rule 10 (pin_line)



state 23

    $           go to state 24



state 24

    $           go to state 25



state 25

    $default    accept