Annotation of embedaddon/php/Zend/zend_ini_parser.output, revision 1.1.1.3

1.1.1.3 ! misho       1: Terminals unused in grammar
1.1       misho       2: 
                      3:    ':'
                      4:    ','
                      5:    '.'
1.1.1.3 ! misho       6:    '\''
1.1       misho       7:    '^'
                      8:    '+'
                      9:    '-'
                     10:    '/'
                     11:    '*'
                     12:    '%'
                     13:    '$'
                     14:    '<'
                     15:    '>'
                     16:    '?'
                     17:    '@'
                     18:    '{'
                     19: 
                     20: 
                     21: Grammar
                     22: 
                     23:     0 $accept: statement_list $end
                     24: 
                     25:     1 statement_list: statement_list statement
                     26:     2               | /* empty */
                     27: 
                     28:     3 statement: TC_SECTION section_string_or_value ']'
                     29:     4          | TC_LABEL '=' string_or_value
                     30:     5          | TC_OFFSET option_offset ']' '=' string_or_value
                     31:     6          | TC_LABEL
                     32:     7          | END_OF_LINE
                     33: 
                     34:     8 section_string_or_value: var_string_list_section
                     35:     9                        | /* empty */
                     36: 
                     37:    10 string_or_value: expr
                     38:    11                | BOOL_TRUE
                     39:    12                | BOOL_FALSE
                     40:    13                | END_OF_LINE
                     41: 
                     42:    14 option_offset: var_string_list
                     43:    15              | /* empty */
                     44: 
                     45:    16 encapsed_list: encapsed_list cfg_var_ref
                     46:    17              | encapsed_list TC_QUOTED_STRING
                     47:    18              | /* empty */
                     48: 
                     49:    19 var_string_list_section: cfg_var_ref
                     50:    20                        | constant_literal
                     51:    21                        | '"' encapsed_list '"'
                     52:    22                        | var_string_list_section cfg_var_ref
                     53:    23                        | var_string_list_section constant_literal
                     54:    24                        | var_string_list_section '"' encapsed_list '"'
                     55: 
                     56:    25 var_string_list: cfg_var_ref
                     57:    26                | constant_string
                     58:    27                | '"' encapsed_list '"'
                     59:    28                | var_string_list cfg_var_ref
                     60:    29                | var_string_list constant_string
                     61:    30                | var_string_list '"' encapsed_list '"'
                     62: 
                     63:    31 expr: var_string_list
                     64:    32     | expr '|' expr
                     65:    33     | expr '&' expr
                     66:    34     | '~' expr
                     67:    35     | '!' expr
                     68:    36     | '(' expr ')'
                     69: 
                     70:    37 cfg_var_ref: TC_DOLLAR_CURLY TC_VARNAME '}'
                     71: 
                     72:    38 constant_literal: TC_CONSTANT
                     73:    39                 | TC_RAW
                     74:    40                 | TC_NUMBER
                     75:    41                 | TC_STRING
                     76:    42                 | TC_WHITESPACE
                     77: 
                     78:    43 constant_string: TC_CONSTANT
                     79:    44                | TC_RAW
                     80:    45                | TC_NUMBER
                     81:    46                | TC_STRING
                     82:    47                | TC_WHITESPACE
                     83: 
                     84: 
                     85: Terminals, with rules where they appear
                     86: 
                     87: $end (0) 0
                     88: '!' (33) 35
                     89: '"' (34) 21 24 27 30
                     90: '$' (36)
                     91: '%' (37)
                     92: '&' (38) 33
1.1.1.3 ! misho      93: '\'' (39)
1.1       misho      94: '(' (40) 36
                     95: ')' (41) 36
                     96: '*' (42)
                     97: '+' (43)
                     98: ',' (44)
                     99: '-' (45)
                    100: '.' (46)
                    101: '/' (47)
                    102: ':' (58)
                    103: '<' (60)
                    104: '=' (61) 4 5
                    105: '>' (62)
                    106: '?' (63)
                    107: '@' (64)
                    108: ']' (93) 3 5
                    109: '^' (94)
                    110: '{' (123)
                    111: '|' (124) 32
                    112: '}' (125) 37
                    113: '~' (126) 34
                    114: error (256)
                    115: TC_SECTION (258) 3
                    116: TC_RAW (259) 39 44
                    117: TC_CONSTANT (260) 38 43
                    118: TC_NUMBER (261) 40 45
                    119: TC_STRING (262) 41 46
                    120: TC_WHITESPACE (263) 42 47
                    121: TC_LABEL (264) 4 6
                    122: TC_OFFSET (265) 5
                    123: TC_DOLLAR_CURLY (266) 37
                    124: TC_VARNAME (267) 37
                    125: TC_QUOTED_STRING (268) 17
                    126: BOOL_TRUE (269) 11
                    127: BOOL_FALSE (270) 12
                    128: END_OF_LINE (271) 7 13
                    129: 
                    130: 
                    131: Nonterminals, with rules where they appear
                    132: 
                    133: $accept (43)
                    134:     on left: 0
                    135: statement_list (44)
                    136:     on left: 1 2, on right: 0 1
                    137: statement (45)
                    138:     on left: 3 4 5 6 7, on right: 1
                    139: section_string_or_value (46)
                    140:     on left: 8 9, on right: 3
                    141: string_or_value (47)
                    142:     on left: 10 11 12 13, on right: 4 5
                    143: option_offset (48)
                    144:     on left: 14 15, on right: 5
                    145: encapsed_list (49)
                    146:     on left: 16 17 18, on right: 16 17 21 24 27 30
                    147: var_string_list_section (50)
                    148:     on left: 19 20 21 22 23 24, on right: 8 22 23 24
                    149: var_string_list (51)
                    150:     on left: 25 26 27 28 29 30, on right: 14 28 29 30 31
                    151: expr (52)
                    152:     on left: 31 32 33 34 35 36, on right: 10 32 33 34 35 36
                    153: cfg_var_ref (53)
                    154:     on left: 37, on right: 16 19 22 25 28
                    155: constant_literal (54)
                    156:     on left: 38 39 40 41 42, on right: 20 23
                    157: constant_string (55)
                    158:     on left: 43 44 45 46 47, on right: 26 29
                    159: 
                    160: 
1.1.1.3 ! misho     161: State 0
1.1       misho     162: 
                    163:     0 $accept: . statement_list $end
                    164: 
                    165:     $default  reduce using rule 2 (statement_list)
                    166: 
                    167:     statement_list  go to state 1
                    168: 
                    169: 
1.1.1.3 ! misho     170: State 1
1.1       misho     171: 
                    172:     0 $accept: statement_list . $end
                    173:     1 statement_list: statement_list . statement
                    174: 
                    175:     $end         shift, and go to state 2
                    176:     TC_SECTION   shift, and go to state 3
                    177:     TC_LABEL     shift, and go to state 4
                    178:     TC_OFFSET    shift, and go to state 5
                    179:     END_OF_LINE  shift, and go to state 6
                    180: 
                    181:     statement  go to state 7
                    182: 
                    183: 
1.1.1.3 ! misho     184: State 2
1.1       misho     185: 
                    186:     0 $accept: statement_list $end .
                    187: 
                    188:     $default  accept
                    189: 
                    190: 
1.1.1.3 ! misho     191: State 3
1.1       misho     192: 
                    193:     3 statement: TC_SECTION . section_string_or_value ']'
                    194: 
                    195:     TC_RAW           shift, and go to state 8
                    196:     TC_CONSTANT      shift, and go to state 9
                    197:     TC_NUMBER        shift, and go to state 10
                    198:     TC_STRING        shift, and go to state 11
                    199:     TC_WHITESPACE    shift, and go to state 12
                    200:     TC_DOLLAR_CURLY  shift, and go to state 13
                    201:     '"'              shift, and go to state 14
                    202: 
                    203:     $default  reduce using rule 9 (section_string_or_value)
                    204: 
                    205:     section_string_or_value  go to state 15
                    206:     var_string_list_section  go to state 16
                    207:     cfg_var_ref              go to state 17
                    208:     constant_literal         go to state 18
                    209: 
                    210: 
1.1.1.3 ! misho     211: State 4
1.1       misho     212: 
                    213:     4 statement: TC_LABEL . '=' string_or_value
                    214:     6          | TC_LABEL .
                    215: 
                    216:     '='  shift, and go to state 19
                    217: 
                    218:     $default  reduce using rule 6 (statement)
                    219: 
                    220: 
1.1.1.3 ! misho     221: State 5
1.1       misho     222: 
                    223:     5 statement: TC_OFFSET . option_offset ']' '=' string_or_value
                    224: 
                    225:     TC_RAW           shift, and go to state 20
                    226:     TC_CONSTANT      shift, and go to state 21
                    227:     TC_NUMBER        shift, and go to state 22
                    228:     TC_STRING        shift, and go to state 23
                    229:     TC_WHITESPACE    shift, and go to state 24
                    230:     TC_DOLLAR_CURLY  shift, and go to state 13
                    231:     '"'              shift, and go to state 25
                    232: 
                    233:     $default  reduce using rule 15 (option_offset)
                    234: 
                    235:     option_offset    go to state 26
                    236:     var_string_list  go to state 27
                    237:     cfg_var_ref      go to state 28
                    238:     constant_string  go to state 29
                    239: 
                    240: 
1.1.1.3 ! misho     241: State 6
1.1       misho     242: 
                    243:     7 statement: END_OF_LINE .
                    244: 
                    245:     $default  reduce using rule 7 (statement)
                    246: 
                    247: 
1.1.1.3 ! misho     248: State 7
1.1       misho     249: 
                    250:     1 statement_list: statement_list statement .
                    251: 
                    252:     $default  reduce using rule 1 (statement_list)
                    253: 
                    254: 
1.1.1.3 ! misho     255: State 8
1.1       misho     256: 
                    257:    39 constant_literal: TC_RAW .
                    258: 
                    259:     $default  reduce using rule 39 (constant_literal)
                    260: 
                    261: 
1.1.1.3 ! misho     262: State 9
1.1       misho     263: 
                    264:    38 constant_literal: TC_CONSTANT .
                    265: 
                    266:     $default  reduce using rule 38 (constant_literal)
                    267: 
                    268: 
1.1.1.3 ! misho     269: State 10
1.1       misho     270: 
                    271:    40 constant_literal: TC_NUMBER .
                    272: 
                    273:     $default  reduce using rule 40 (constant_literal)
                    274: 
                    275: 
1.1.1.3 ! misho     276: State 11
1.1       misho     277: 
                    278:    41 constant_literal: TC_STRING .
                    279: 
                    280:     $default  reduce using rule 41 (constant_literal)
                    281: 
                    282: 
1.1.1.3 ! misho     283: State 12
1.1       misho     284: 
                    285:    42 constant_literal: TC_WHITESPACE .
                    286: 
                    287:     $default  reduce using rule 42 (constant_literal)
                    288: 
                    289: 
1.1.1.3 ! misho     290: State 13
1.1       misho     291: 
                    292:    37 cfg_var_ref: TC_DOLLAR_CURLY . TC_VARNAME '}'
                    293: 
                    294:     TC_VARNAME  shift, and go to state 30
                    295: 
                    296: 
1.1.1.3 ! misho     297: State 14
1.1       misho     298: 
                    299:    21 var_string_list_section: '"' . encapsed_list '"'
                    300: 
                    301:     $default  reduce using rule 18 (encapsed_list)
                    302: 
                    303:     encapsed_list  go to state 31
                    304: 
                    305: 
1.1.1.3 ! misho     306: State 15
1.1       misho     307: 
                    308:     3 statement: TC_SECTION section_string_or_value . ']'
                    309: 
                    310:     ']'  shift, and go to state 32
                    311: 
                    312: 
1.1.1.3 ! misho     313: State 16
1.1       misho     314: 
                    315:     8 section_string_or_value: var_string_list_section .
                    316:    22 var_string_list_section: var_string_list_section . cfg_var_ref
                    317:    23                        | var_string_list_section . constant_literal
                    318:    24                        | var_string_list_section . '"' encapsed_list '"'
                    319: 
                    320:     TC_RAW           shift, and go to state 8
                    321:     TC_CONSTANT      shift, and go to state 9
                    322:     TC_NUMBER        shift, and go to state 10
                    323:     TC_STRING        shift, and go to state 11
                    324:     TC_WHITESPACE    shift, and go to state 12
                    325:     TC_DOLLAR_CURLY  shift, and go to state 13
                    326:     '"'              shift, and go to state 33
                    327: 
                    328:     $default  reduce using rule 8 (section_string_or_value)
                    329: 
                    330:     cfg_var_ref       go to state 34
                    331:     constant_literal  go to state 35
                    332: 
                    333: 
1.1.1.3 ! misho     334: State 17
1.1       misho     335: 
                    336:    19 var_string_list_section: cfg_var_ref .
                    337: 
                    338:     $default  reduce using rule 19 (var_string_list_section)
                    339: 
                    340: 
1.1.1.3 ! misho     341: State 18
1.1       misho     342: 
                    343:    20 var_string_list_section: constant_literal .
                    344: 
                    345:     $default  reduce using rule 20 (var_string_list_section)
                    346: 
                    347: 
1.1.1.3 ! misho     348: State 19
1.1       misho     349: 
                    350:     4 statement: TC_LABEL '=' . string_or_value
                    351: 
                    352:     TC_RAW           shift, and go to state 20
                    353:     TC_CONSTANT      shift, and go to state 21
                    354:     TC_NUMBER        shift, and go to state 22
                    355:     TC_STRING        shift, and go to state 23
                    356:     TC_WHITESPACE    shift, and go to state 24
                    357:     TC_DOLLAR_CURLY  shift, and go to state 13
                    358:     BOOL_TRUE        shift, and go to state 36
                    359:     BOOL_FALSE       shift, and go to state 37
                    360:     END_OF_LINE      shift, and go to state 38
                    361:     '"'              shift, and go to state 25
                    362:     '~'              shift, and go to state 39
                    363:     '!'              shift, and go to state 40
                    364:     '('              shift, and go to state 41
                    365: 
                    366:     string_or_value  go to state 42
                    367:     var_string_list  go to state 43
                    368:     expr             go to state 44
                    369:     cfg_var_ref      go to state 28
                    370:     constant_string  go to state 29
                    371: 
                    372: 
1.1.1.3 ! misho     373: State 20
1.1       misho     374: 
                    375:    44 constant_string: TC_RAW .
                    376: 
                    377:     $default  reduce using rule 44 (constant_string)
                    378: 
                    379: 
1.1.1.3 ! misho     380: State 21
1.1       misho     381: 
                    382:    43 constant_string: TC_CONSTANT .
                    383: 
                    384:     $default  reduce using rule 43 (constant_string)
                    385: 
                    386: 
1.1.1.3 ! misho     387: State 22
1.1       misho     388: 
                    389:    45 constant_string: TC_NUMBER .
                    390: 
                    391:     $default  reduce using rule 45 (constant_string)
                    392: 
                    393: 
1.1.1.3 ! misho     394: State 23
1.1       misho     395: 
                    396:    46 constant_string: TC_STRING .
                    397: 
                    398:     $default  reduce using rule 46 (constant_string)
                    399: 
                    400: 
1.1.1.3 ! misho     401: State 24
1.1       misho     402: 
                    403:    47 constant_string: TC_WHITESPACE .
                    404: 
                    405:     $default  reduce using rule 47 (constant_string)
                    406: 
                    407: 
1.1.1.3 ! misho     408: State 25
1.1       misho     409: 
                    410:    27 var_string_list: '"' . encapsed_list '"'
                    411: 
                    412:     $default  reduce using rule 18 (encapsed_list)
                    413: 
                    414:     encapsed_list  go to state 45
                    415: 
                    416: 
1.1.1.3 ! misho     417: State 26
1.1       misho     418: 
                    419:     5 statement: TC_OFFSET option_offset . ']' '=' string_or_value
                    420: 
                    421:     ']'  shift, and go to state 46
                    422: 
                    423: 
1.1.1.3 ! misho     424: State 27
1.1       misho     425: 
                    426:    14 option_offset: var_string_list .
                    427:    28 var_string_list: var_string_list . cfg_var_ref
                    428:    29                | var_string_list . constant_string
                    429:    30                | var_string_list . '"' encapsed_list '"'
                    430: 
                    431:     TC_RAW           shift, and go to state 20
                    432:     TC_CONSTANT      shift, and go to state 21
                    433:     TC_NUMBER        shift, and go to state 22
                    434:     TC_STRING        shift, and go to state 23
                    435:     TC_WHITESPACE    shift, and go to state 24
                    436:     TC_DOLLAR_CURLY  shift, and go to state 13
                    437:     '"'              shift, and go to state 47
                    438: 
                    439:     $default  reduce using rule 14 (option_offset)
                    440: 
                    441:     cfg_var_ref      go to state 48
                    442:     constant_string  go to state 49
                    443: 
                    444: 
1.1.1.3 ! misho     445: State 28
1.1       misho     446: 
                    447:    25 var_string_list: cfg_var_ref .
                    448: 
                    449:     $default  reduce using rule 25 (var_string_list)
                    450: 
                    451: 
1.1.1.3 ! misho     452: State 29
1.1       misho     453: 
                    454:    26 var_string_list: constant_string .
                    455: 
                    456:     $default  reduce using rule 26 (var_string_list)
                    457: 
                    458: 
1.1.1.3 ! misho     459: State 30
1.1       misho     460: 
                    461:    37 cfg_var_ref: TC_DOLLAR_CURLY TC_VARNAME . '}'
                    462: 
                    463:     '}'  shift, and go to state 50
                    464: 
                    465: 
1.1.1.3 ! misho     466: State 31
1.1       misho     467: 
                    468:    16 encapsed_list: encapsed_list . cfg_var_ref
                    469:    17              | encapsed_list . TC_QUOTED_STRING
                    470:    21 var_string_list_section: '"' encapsed_list . '"'
                    471: 
                    472:     TC_DOLLAR_CURLY   shift, and go to state 13
                    473:     TC_QUOTED_STRING  shift, and go to state 51
                    474:     '"'               shift, and go to state 52
                    475: 
                    476:     cfg_var_ref  go to state 53
                    477: 
                    478: 
1.1.1.3 ! misho     479: State 32
1.1       misho     480: 
                    481:     3 statement: TC_SECTION section_string_or_value ']' .
                    482: 
                    483:     $default  reduce using rule 3 (statement)
                    484: 
                    485: 
1.1.1.3 ! misho     486: State 33
1.1       misho     487: 
                    488:    24 var_string_list_section: var_string_list_section '"' . encapsed_list '"'
                    489: 
                    490:     $default  reduce using rule 18 (encapsed_list)
                    491: 
                    492:     encapsed_list  go to state 54
                    493: 
                    494: 
1.1.1.3 ! misho     495: State 34
1.1       misho     496: 
                    497:    22 var_string_list_section: var_string_list_section cfg_var_ref .
                    498: 
                    499:     $default  reduce using rule 22 (var_string_list_section)
                    500: 
                    501: 
1.1.1.3 ! misho     502: State 35
1.1       misho     503: 
                    504:    23 var_string_list_section: var_string_list_section constant_literal .
                    505: 
                    506:     $default  reduce using rule 23 (var_string_list_section)
                    507: 
                    508: 
1.1.1.3 ! misho     509: State 36
1.1       misho     510: 
                    511:    11 string_or_value: BOOL_TRUE .
                    512: 
                    513:     $default  reduce using rule 11 (string_or_value)
                    514: 
                    515: 
1.1.1.3 ! misho     516: State 37
1.1       misho     517: 
                    518:    12 string_or_value: BOOL_FALSE .
                    519: 
                    520:     $default  reduce using rule 12 (string_or_value)
                    521: 
                    522: 
1.1.1.3 ! misho     523: State 38
1.1       misho     524: 
                    525:    13 string_or_value: END_OF_LINE .
                    526: 
                    527:     $default  reduce using rule 13 (string_or_value)
                    528: 
                    529: 
1.1.1.3 ! misho     530: State 39
1.1       misho     531: 
                    532:    34 expr: '~' . expr
                    533: 
                    534:     TC_RAW           shift, and go to state 20
                    535:     TC_CONSTANT      shift, and go to state 21
                    536:     TC_NUMBER        shift, and go to state 22
                    537:     TC_STRING        shift, and go to state 23
                    538:     TC_WHITESPACE    shift, and go to state 24
                    539:     TC_DOLLAR_CURLY  shift, and go to state 13
                    540:     '"'              shift, and go to state 25
                    541:     '~'              shift, and go to state 39
                    542:     '!'              shift, and go to state 40
                    543:     '('              shift, and go to state 41
                    544: 
                    545:     var_string_list  go to state 43
                    546:     expr             go to state 55
                    547:     cfg_var_ref      go to state 28
                    548:     constant_string  go to state 29
                    549: 
                    550: 
1.1.1.3 ! misho     551: State 40
1.1       misho     552: 
                    553:    35 expr: '!' . expr
                    554: 
                    555:     TC_RAW           shift, and go to state 20
                    556:     TC_CONSTANT      shift, and go to state 21
                    557:     TC_NUMBER        shift, and go to state 22
                    558:     TC_STRING        shift, and go to state 23
                    559:     TC_WHITESPACE    shift, and go to state 24
                    560:     TC_DOLLAR_CURLY  shift, and go to state 13
                    561:     '"'              shift, and go to state 25
                    562:     '~'              shift, and go to state 39
                    563:     '!'              shift, and go to state 40
                    564:     '('              shift, and go to state 41
                    565: 
                    566:     var_string_list  go to state 43
                    567:     expr             go to state 56
                    568:     cfg_var_ref      go to state 28
                    569:     constant_string  go to state 29
                    570: 
                    571: 
1.1.1.3 ! misho     572: State 41
1.1       misho     573: 
                    574:    36 expr: '(' . expr ')'
                    575: 
                    576:     TC_RAW           shift, and go to state 20
                    577:     TC_CONSTANT      shift, and go to state 21
                    578:     TC_NUMBER        shift, and go to state 22
                    579:     TC_STRING        shift, and go to state 23
                    580:     TC_WHITESPACE    shift, and go to state 24
                    581:     TC_DOLLAR_CURLY  shift, and go to state 13
                    582:     '"'              shift, and go to state 25
                    583:     '~'              shift, and go to state 39
                    584:     '!'              shift, and go to state 40
                    585:     '('              shift, and go to state 41
                    586: 
                    587:     var_string_list  go to state 43
                    588:     expr             go to state 57
                    589:     cfg_var_ref      go to state 28
                    590:     constant_string  go to state 29
                    591: 
                    592: 
1.1.1.3 ! misho     593: State 42
1.1       misho     594: 
                    595:     4 statement: TC_LABEL '=' string_or_value .
                    596: 
                    597:     $default  reduce using rule 4 (statement)
                    598: 
                    599: 
1.1.1.3 ! misho     600: State 43
1.1       misho     601: 
                    602:    28 var_string_list: var_string_list . cfg_var_ref
                    603:    29                | var_string_list . constant_string
                    604:    30                | var_string_list . '"' encapsed_list '"'
                    605:    31 expr: var_string_list .
                    606: 
                    607:     TC_RAW           shift, and go to state 20
                    608:     TC_CONSTANT      shift, and go to state 21
                    609:     TC_NUMBER        shift, and go to state 22
                    610:     TC_STRING        shift, and go to state 23
                    611:     TC_WHITESPACE    shift, and go to state 24
                    612:     TC_DOLLAR_CURLY  shift, and go to state 13
                    613:     '"'              shift, and go to state 47
                    614: 
                    615:     $default  reduce using rule 31 (expr)
                    616: 
                    617:     cfg_var_ref      go to state 48
                    618:     constant_string  go to state 49
                    619: 
                    620: 
1.1.1.3 ! misho     621: State 44
1.1       misho     622: 
                    623:    10 string_or_value: expr .
                    624:    32 expr: expr . '|' expr
                    625:    33     | expr . '&' expr
                    626: 
                    627:     '|'  shift, and go to state 58
                    628:     '&'  shift, and go to state 59
                    629: 
                    630:     $default  reduce using rule 10 (string_or_value)
                    631: 
                    632: 
1.1.1.3 ! misho     633: State 45
1.1       misho     634: 
                    635:    16 encapsed_list: encapsed_list . cfg_var_ref
                    636:    17              | encapsed_list . TC_QUOTED_STRING
                    637:    27 var_string_list: '"' encapsed_list . '"'
                    638: 
                    639:     TC_DOLLAR_CURLY   shift, and go to state 13
                    640:     TC_QUOTED_STRING  shift, and go to state 51
                    641:     '"'               shift, and go to state 60
                    642: 
                    643:     cfg_var_ref  go to state 53
                    644: 
                    645: 
1.1.1.3 ! misho     646: State 46
1.1       misho     647: 
                    648:     5 statement: TC_OFFSET option_offset ']' . '=' string_or_value
                    649: 
                    650:     '='  shift, and go to state 61
                    651: 
                    652: 
1.1.1.3 ! misho     653: State 47
1.1       misho     654: 
                    655:    30 var_string_list: var_string_list '"' . encapsed_list '"'
                    656: 
                    657:     $default  reduce using rule 18 (encapsed_list)
                    658: 
                    659:     encapsed_list  go to state 62
                    660: 
                    661: 
1.1.1.3 ! misho     662: State 48
1.1       misho     663: 
                    664:    28 var_string_list: var_string_list cfg_var_ref .
                    665: 
                    666:     $default  reduce using rule 28 (var_string_list)
                    667: 
                    668: 
1.1.1.3 ! misho     669: State 49
1.1       misho     670: 
                    671:    29 var_string_list: var_string_list constant_string .
                    672: 
                    673:     $default  reduce using rule 29 (var_string_list)
                    674: 
                    675: 
1.1.1.3 ! misho     676: State 50
1.1       misho     677: 
                    678:    37 cfg_var_ref: TC_DOLLAR_CURLY TC_VARNAME '}' .
                    679: 
                    680:     $default  reduce using rule 37 (cfg_var_ref)
                    681: 
                    682: 
1.1.1.3 ! misho     683: State 51
1.1       misho     684: 
                    685:    17 encapsed_list: encapsed_list TC_QUOTED_STRING .
                    686: 
                    687:     $default  reduce using rule 17 (encapsed_list)
                    688: 
                    689: 
1.1.1.3 ! misho     690: State 52
1.1       misho     691: 
                    692:    21 var_string_list_section: '"' encapsed_list '"' .
                    693: 
                    694:     $default  reduce using rule 21 (var_string_list_section)
                    695: 
                    696: 
1.1.1.3 ! misho     697: State 53
1.1       misho     698: 
                    699:    16 encapsed_list: encapsed_list cfg_var_ref .
                    700: 
                    701:     $default  reduce using rule 16 (encapsed_list)
                    702: 
                    703: 
1.1.1.3 ! misho     704: State 54
1.1       misho     705: 
                    706:    16 encapsed_list: encapsed_list . cfg_var_ref
                    707:    17              | encapsed_list . TC_QUOTED_STRING
                    708:    24 var_string_list_section: var_string_list_section '"' encapsed_list . '"'
                    709: 
                    710:     TC_DOLLAR_CURLY   shift, and go to state 13
                    711:     TC_QUOTED_STRING  shift, and go to state 51
                    712:     '"'               shift, and go to state 63
                    713: 
                    714:     cfg_var_ref  go to state 53
                    715: 
                    716: 
1.1.1.3 ! misho     717: State 55
1.1       misho     718: 
                    719:    32 expr: expr . '|' expr
                    720:    33     | expr . '&' expr
                    721:    34     | '~' expr .
                    722: 
                    723:     $default  reduce using rule 34 (expr)
                    724: 
                    725: 
1.1.1.3 ! misho     726: State 56
1.1       misho     727: 
                    728:    32 expr: expr . '|' expr
                    729:    33     | expr . '&' expr
                    730:    35     | '!' expr .
                    731: 
                    732:     $default  reduce using rule 35 (expr)
                    733: 
                    734: 
1.1.1.3 ! misho     735: State 57
1.1       misho     736: 
                    737:    32 expr: expr . '|' expr
                    738:    33     | expr . '&' expr
                    739:    36     | '(' expr . ')'
                    740: 
                    741:     '|'  shift, and go to state 58
                    742:     '&'  shift, and go to state 59
                    743:     ')'  shift, and go to state 64
                    744: 
                    745: 
1.1.1.3 ! misho     746: State 58
1.1       misho     747: 
                    748:    32 expr: expr '|' . expr
                    749: 
                    750:     TC_RAW           shift, and go to state 20
                    751:     TC_CONSTANT      shift, and go to state 21
                    752:     TC_NUMBER        shift, and go to state 22
                    753:     TC_STRING        shift, and go to state 23
                    754:     TC_WHITESPACE    shift, and go to state 24
                    755:     TC_DOLLAR_CURLY  shift, and go to state 13
                    756:     '"'              shift, and go to state 25
                    757:     '~'              shift, and go to state 39
                    758:     '!'              shift, and go to state 40
                    759:     '('              shift, and go to state 41
                    760: 
                    761:     var_string_list  go to state 43
                    762:     expr             go to state 65
                    763:     cfg_var_ref      go to state 28
                    764:     constant_string  go to state 29
                    765: 
                    766: 
1.1.1.3 ! misho     767: State 59
1.1       misho     768: 
                    769:    33 expr: expr '&' . expr
                    770: 
                    771:     TC_RAW           shift, and go to state 20
                    772:     TC_CONSTANT      shift, and go to state 21
                    773:     TC_NUMBER        shift, and go to state 22
                    774:     TC_STRING        shift, and go to state 23
                    775:     TC_WHITESPACE    shift, and go to state 24
                    776:     TC_DOLLAR_CURLY  shift, and go to state 13
                    777:     '"'              shift, and go to state 25
                    778:     '~'              shift, and go to state 39
                    779:     '!'              shift, and go to state 40
                    780:     '('              shift, and go to state 41
                    781: 
                    782:     var_string_list  go to state 43
                    783:     expr             go to state 66
                    784:     cfg_var_ref      go to state 28
                    785:     constant_string  go to state 29
                    786: 
                    787: 
1.1.1.3 ! misho     788: State 60
1.1       misho     789: 
                    790:    27 var_string_list: '"' encapsed_list '"' .
                    791: 
                    792:     $default  reduce using rule 27 (var_string_list)
                    793: 
                    794: 
1.1.1.3 ! misho     795: State 61
1.1       misho     796: 
                    797:     5 statement: TC_OFFSET option_offset ']' '=' . string_or_value
                    798: 
                    799:     TC_RAW           shift, and go to state 20
                    800:     TC_CONSTANT      shift, and go to state 21
                    801:     TC_NUMBER        shift, and go to state 22
                    802:     TC_STRING        shift, and go to state 23
                    803:     TC_WHITESPACE    shift, and go to state 24
                    804:     TC_DOLLAR_CURLY  shift, and go to state 13
                    805:     BOOL_TRUE        shift, and go to state 36
                    806:     BOOL_FALSE       shift, and go to state 37
                    807:     END_OF_LINE      shift, and go to state 38
                    808:     '"'              shift, and go to state 25
                    809:     '~'              shift, and go to state 39
                    810:     '!'              shift, and go to state 40
                    811:     '('              shift, and go to state 41
                    812: 
                    813:     string_or_value  go to state 67
                    814:     var_string_list  go to state 43
                    815:     expr             go to state 44
                    816:     cfg_var_ref      go to state 28
                    817:     constant_string  go to state 29
                    818: 
                    819: 
1.1.1.3 ! misho     820: State 62
1.1       misho     821: 
                    822:    16 encapsed_list: encapsed_list . cfg_var_ref
                    823:    17              | encapsed_list . TC_QUOTED_STRING
                    824:    30 var_string_list: var_string_list '"' encapsed_list . '"'
                    825: 
                    826:     TC_DOLLAR_CURLY   shift, and go to state 13
                    827:     TC_QUOTED_STRING  shift, and go to state 51
                    828:     '"'               shift, and go to state 68
                    829: 
                    830:     cfg_var_ref  go to state 53
                    831: 
                    832: 
1.1.1.3 ! misho     833: State 63
1.1       misho     834: 
                    835:    24 var_string_list_section: var_string_list_section '"' encapsed_list '"' .
                    836: 
                    837:     $default  reduce using rule 24 (var_string_list_section)
                    838: 
                    839: 
1.1.1.3 ! misho     840: State 64
1.1       misho     841: 
                    842:    36 expr: '(' expr ')' .
                    843: 
                    844:     $default  reduce using rule 36 (expr)
                    845: 
                    846: 
1.1.1.3 ! misho     847: State 65
1.1       misho     848: 
                    849:    32 expr: expr . '|' expr
                    850:    32     | expr '|' expr .
                    851:    33     | expr . '&' expr
                    852: 
                    853:     $default  reduce using rule 32 (expr)
                    854: 
                    855: 
1.1.1.3 ! misho     856: State 66
1.1       misho     857: 
                    858:    32 expr: expr . '|' expr
                    859:    33     | expr . '&' expr
                    860:    33     | expr '&' expr .
                    861: 
                    862:     $default  reduce using rule 33 (expr)
                    863: 
                    864: 
1.1.1.3 ! misho     865: State 67
1.1       misho     866: 
                    867:     5 statement: TC_OFFSET option_offset ']' '=' string_or_value .
                    868: 
                    869:     $default  reduce using rule 5 (statement)
                    870: 
                    871: 
1.1.1.3 ! misho     872: State 68
1.1       misho     873: 
                    874:    30 var_string_list: var_string_list '"' encapsed_list '"' .
                    875: 
                    876:     $default  reduce using rule 30 (var_string_list)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>