Conflict in state 18 between rule 16 and token '|' resolved as reduce.
Conflict in state 18 between rule 16 and token '&' resolved as reduce.
Conflict in state 19 between rule 17 and token '|' resolved as reduce.
Conflict in state 19 between rule 17 and token '&' resolved as reduce.
Conflict in state 24 between rule 14 and token '|' resolved as reduce.
Conflict in state 24 between rule 14 and token '&' resolved as reduce.
Conflict in state 25 between rule 15 and token '|' resolved as reduce.
Conflict in state 25 between rule 15 and token '&' resolved as reduce.


State 6 contains 2 shift/reduce conflicts.


Grammar

  Number, Line, Rule
    1 189 statement_list -> statement_list statement
    2 191 statement_list -> /* empty */
    3 194 statement -> TC_STRING '=' string_or_value
    4 203 statement -> TC_STRING
    5 204 statement -> SECTION
    6 205 statement -> '\n'
    7 209 string_or_value -> expr
    8 211 string_or_value -> TC_ENCAPSULATED_STRING
    9 212 string_or_value -> CFG_TRUE
   10 213 string_or_value -> CFG_FALSE
   11 214 string_or_value -> '\n'
   12 215 string_or_value -> /* empty */
   13 218 expr -> constant_string
   14 220 expr -> expr '|' expr
   15 221 expr -> expr '&' expr
   16 222 expr -> '~' expr
   17 223 expr -> '!' expr
   18 224 expr -> '(' expr ')'
   19 227 constant_string -> TC_STRING


Terminals, with rules where they appear

$ (-1)
'\n' (10) 6 11
'!' (33) 17
'&' (38) 15
'(' (40) 18
')' (41) 18
'=' (61) 3
'|' (124) 14
'~' (126) 16
error (256)
TC_STRING (257) 3 4 19
TC_ENCAPSULATED_STRING (258) 8
SECTION (259) 5
CFG_TRUE (260) 9
CFG_FALSE (261) 10


Nonterminals, with rules where they appear

statement_list (16)
    on left: 1 2, on right: 1
statement (17)
    on left: 3 4 5 6, on right: 1
string_or_value (18)
    on left: 7 8 9 10 11 12, on right: 3
expr (19)
    on left: 13 14 15 16 17 18, on right: 7 14 15 16 17 18
constant_string (20)
    on left: 19, on right: 13


state 0

    $default	reduce using rule 2 (statement_list)

    statement_list	go to state 1



state 1

    statement_list  ->  statement_list . statement   (rule 1)

    $   	go to state 26
    TC_STRING	shift, and go to state 2
    SECTION	shift, and go to state 3
    '\n'	shift, and go to state 4

    statement	go to state 5



state 2

    statement  ->  TC_STRING . '=' string_or_value   (rule 3)
    statement  ->  TC_STRING .   (rule 4)

    '=' 	shift, and go to state 6

    $default	reduce using rule 4 (statement)



state 3

    statement  ->  SECTION .   (rule 5)

    $default	reduce using rule 5 (statement)



state 4

    statement  ->  '\n' .   (rule 6)

    $default	reduce using rule 6 (statement)



state 5

    statement_list  ->  statement_list statement .   (rule 1)

    $default	reduce using rule 1 (statement_list)



state 6

    statement  ->  TC_STRING '=' . string_or_value   (rule 3)

    TC_STRING	shift, and go to state 7
    TC_ENCAPSULATED_STRING	shift, and go to state 8
    CFG_TRUE	shift, and go to state 9
    CFG_FALSE	shift, and go to state 10
    '~' 	shift, and go to state 11
    '!' 	shift, and go to state 12
    '\n'	shift, and go to state 13
    '(' 	shift, and go to state 14

    TC_STRING	[reduce using rule 12 (string_or_value)]
    '\n'	[reduce using rule 12 (string_or_value)]
    $default	reduce using rule 12 (string_or_value)

    string_or_value	go to state 15
    expr	go to state 16
    constant_string	go to state 17



state 7

    constant_string  ->  TC_STRING .   (rule 19)

    $default	reduce using rule 19 (constant_string)



state 8

    string_or_value  ->  TC_ENCAPSULATED_STRING .   (rule 8)

    $default	reduce using rule 8 (string_or_value)



state 9

    string_or_value  ->  CFG_TRUE .   (rule 9)

    $default	reduce using rule 9 (string_or_value)



state 10

    string_or_value  ->  CFG_FALSE .   (rule 10)

    $default	reduce using rule 10 (string_or_value)



state 11

    expr  ->  '~' . expr   (rule 16)

    TC_STRING	shift, and go to state 7
    '~' 	shift, and go to state 11
    '!' 	shift, and go to state 12
    '(' 	shift, and go to state 14

    expr	go to state 18
    constant_string	go to state 17



state 12

    expr  ->  '!' . expr   (rule 17)

    TC_STRING	shift, and go to state 7
    '~' 	shift, and go to state 11
    '!' 	shift, and go to state 12
    '(' 	shift, and go to state 14

    expr	go to state 19
    constant_string	go to state 17



state 13

    string_or_value  ->  '\n' .   (rule 11)

    $default	reduce using rule 11 (string_or_value)



state 14

    expr  ->  '(' . expr ')'   (rule 18)

    TC_STRING	shift, and go to state 7
    '~' 	shift, and go to state 11
    '!' 	shift, and go to state 12
    '(' 	shift, and go to state 14

    expr	go to state 20
    constant_string	go to state 17



state 15

    statement  ->  TC_STRING '=' string_or_value .   (rule 3)

    $default	reduce using rule 3 (statement)



state 16

    string_or_value  ->  expr .   (rule 7)
    expr  ->  expr . '|' expr   (rule 14)
    expr  ->  expr . '&' expr   (rule 15)

    '|' 	shift, and go to state 21
    '&' 	shift, and go to state 22

    $default	reduce using rule 7 (string_or_value)



state 17

    expr  ->  constant_string .   (rule 13)

    $default	reduce using rule 13 (expr)



state 18

    expr  ->  expr . '|' expr   (rule 14)
    expr  ->  expr . '&' expr   (rule 15)
    expr  ->  '~' expr .   (rule 16)


    $default	reduce using rule 16 (expr)



state 19

    expr  ->  expr . '|' expr   (rule 14)
    expr  ->  expr . '&' expr   (rule 15)
    expr  ->  '!' expr .   (rule 17)


    $default	reduce using rule 17 (expr)



state 20

    expr  ->  expr . '|' expr   (rule 14)
    expr  ->  expr . '&' expr   (rule 15)
    expr  ->  '(' expr . ')'   (rule 18)

    '|' 	shift, and go to state 21
    '&' 	shift, and go to state 22
    ')' 	shift, and go to state 23



state 21

    expr  ->  expr '|' . expr   (rule 14)

    TC_STRING	shift, and go to state 7
    '~' 	shift, and go to state 11
    '!' 	shift, and go to state 12
    '(' 	shift, and go to state 14

    expr	go to state 24
    constant_string	go to state 17



state 22

    expr  ->  expr '&' . expr   (rule 15)

    TC_STRING	shift, and go to state 7
    '~' 	shift, and go to state 11
    '!' 	shift, and go to state 12
    '(' 	shift, and go to state 14

    expr	go to state 25
    constant_string	go to state 17



state 23

    expr  ->  '(' expr ')' .   (rule 18)

    $default	reduce using rule 18 (expr)



state 24

    expr  ->  expr . '|' expr   (rule 14)
    expr  ->  expr '|' expr .   (rule 14)
    expr  ->  expr . '&' expr   (rule 15)


    $default	reduce using rule 14 (expr)



state 25

    expr  ->  expr . '|' expr   (rule 14)
    expr  ->  expr . '&' expr   (rule 15)
    expr  ->  expr '&' expr .   (rule 15)


    $default	reduce using rule 15 (expr)



state 26

    $   	go to state 27



state 27

    $default	accept


