📄 c-parse.output
字号:
state 18 datadef -> setspecs . notype_initdecls ';' (rule 10) fndef -> setspecs . notype_declarator @7 xdecls @8 compstmt_or_error (rule 28) fndef -> setspecs . notype_declarator error (rule 29) IDENTIFIER shift, and go to state 36 '*' shift, and go to state 37 '(' shift, and go to state 38 notype_initdecls go to state 39 notype_initdcl go to state 40 notype_declarator go to state 41state 19 datadef -> typed_declspecs . setspecs initdecls ';' (rule 12) datadef -> typed_declspecs . ';' (rule 14) fndef -> typed_declspecs . setspecs declarator @3 xdecls @4 compstmt_or_error (rule 20) fndef -> typed_declspecs . setspecs declarator error (rule 21) ';' shift, and go to state 42 $default reduce using rule 93 (setspecs) setspecs go to state 43state 20 datadef -> declmods . setspecs notype_initdecls ';' (rule 11) datadef -> declmods . ';' (rule 13) fndef -> declmods . setspecs notype_declarator @5 xdecls @6 compstmt_or_error (rule 24) fndef -> declmods . setspecs notype_declarator error (rule 25) typed_declspecs -> declmods . typespec reserved_declspecs (rule 99) declmods -> declmods . TYPE_QUAL (rule 105) declmods -> declmods . SCSPEC (rule 106) TYPENAME shift, and go to state 5 SCSPEC shift, and go to state 44 TYPESPEC shift, and go to state 7 TYPE_QUAL shift, and go to state 45 ENUM shift, and go to state 9 STRUCT shift, and go to state 10 UNION shift, and go to state 11 TYPEOF shift, and go to state 13 ';' shift, and go to state 46 $default reduce using rule 93 (setspecs) setspecs go to state 47 typespec go to state 48 structsp go to state 22state 21 typed_declspecs -> typespec . reserved_declspecs (rule 98) $default reduce using rule 100 (reserved_declspecs) reserved_declspecs go to state 49state 22 typespec -> structsp . (rule 112) $default reduce using rule 112 (typespec)state 23 extdefs -> extdefs @2 extdef . (rule 6) $default reduce using rule 6 (extdefs)state 24 datadef -> error ';' . (rule 15) $default reduce using rule 15 (datadef)state 25 datadef -> error '}' . (rule 16) $default reduce using rule 16 (datadef)state 26 identifier -> IDENTIFIER . (rule 30) $default reduce using rule 30 (identifier)state 27 identifier -> TYPENAME . (rule 31) $default reduce using rule 31 (identifier)state 28 structsp -> ENUM '{' . @15 enumlist maybecomma_warn '}' (rule 175) $default reduce using rule 174 (@15) @15 go to state 50state 29 structsp -> ENUM identifier . '{' @14 enumlist maybecomma_warn '}' (rule 173) structsp -> ENUM identifier . (rule 176) '{' shift, and go to state 51 $default reduce using rule 176 (structsp)state 30 structsp -> STRUCT '{' . component_decl_list '}' (rule 166) $default reduce using rule 183 (component_decl_list2) component_decl_list go to state 52 component_decl_list2 go to state 53state 31 structsp -> STRUCT identifier . '{' @12 component_decl_list '}' (rule 165) structsp -> STRUCT identifier . (rule 167) '{' shift, and go to state 54 $default reduce using rule 167 (structsp)state 32 structsp -> UNION '{' . component_decl_list '}' (rule 170) $default reduce using rule 183 (component_decl_list2) component_decl_list go to state 55 component_decl_list2 go to state 53state 33 structsp -> UNION identifier . '{' @13 component_decl_list '}' (rule 169) structsp -> UNION identifier . (rule 171) '{' shift, and go to state 56 $default reduce using rule 171 (structsp)state 34 extdef -> ASM '(' . string ')' ';' (rule 9) STRING shift, and go to state 57 string go to state 58state 35 typespec -> TYPEOF '(' . expr ')' (rule 114) typespec -> TYPEOF '(' . typename ')' (rule 115) IDENTIFIER shift, and go to state 59 TYPENAME shift, and go to state 5 TYPESPEC shift, and go to state 7 TYPE_QUAL shift, and go to state 60 CONSTANT shift, and go to state 61 STRING shift, and go to state 57 SIZEOF shift, and go to state 62 ENUM shift, and go to state 9 STRUCT shift, and go to state 10 UNION shift, and go to state 11 TYPEOF shift, and go to state 13 ALIGNOF shift, and go to state 63 '&' shift, and go to state 64 '+' shift, and go to state 65 '-' shift, and go to state 66 '*' shift, and go to state 67 PLUSPLUS shift, and go to state 68 MINUSMINUS shift, and go to state 69 '(' shift, and go to state 70 '~' shift, and go to state 71 '!' shift, and go to state 72 unop go to state 73 expr go to state 74 nonnull_exprlist go to state 75 unary_expr go to state 76 cast_expr go to state 77 expr_no_commas go to state 78 primary go to state 79 string go to state 80 typed_typespecs go to state 81 typespec go to state 82 structsp go to state 22 typename go to state 83 nonempty_type_quals go to state 84state 36 notype_declarator -> IDENTIFIER . (rule 163) $default reduce using rule 163 (notype_declarator)state 37 notype_declarator -> '*' . type_quals notype_declarator (rule 160) $default reduce using rule 205 (type_quals) type_quals go to state 85state 38 notype_declarator -> '(' . notype_declarator ')' (rule 159) IDENTIFIER shift, and go to state 36 '*' shift, and go to state 37 '(' shift, and go to state 38 notype_declarator go to state 86state 39 datadef -> setspecs notype_initdecls . ';' (rule 10) notype_initdecls -> notype_initdecls . ',' initdcl (rule 122) ';' shift, and go to state 87 ',' shift, and go to state 88state 40 notype_initdecls -> notype_initdcl . (rule 121) $default reduce using rule 121 (notype_initdecls)state 41 fndef -> setspecs notype_declarator . @7 xdecls @8 compstmt_or_error (rule 28) fndef -> setspecs notype_declarator . error (rule 29) notype_initdcl -> notype_declarator . maybeasm maybe_attribute '=' @11 init (rule 129) notype_initdcl -> notype_declarator . maybeasm maybe_attribute (rule 130) notype_declarator -> notype_declarator . '(' parmlist_or_identifiers (rule 158) notype_declarator -> notype_declarator . '[' expr ']' (rule 161) notype_declarator -> notype_declarator . '[' ']' (rule 162) error shift, and go to state 89 ASM shift, and go to state 90 '(' shift, and go to state 91 '[' shift, and go to state 92 error [reduce using rule 26 (@7)] TYPENAME reduce using rule 26 (@7) SCSPEC reduce using rule 26 (@7) TYPESPEC reduce using rule 26 (@7) TYPE_QUAL reduce using rule 26 (@7) ENUM reduce using rule 26 (@7) STRUCT reduce using rule 26 (@7) UNION reduce using rule 26 (@7) TYPEOF reduce using rule 26 (@7) ATTRIBUTE reduce using rule 123 (maybeasm) '=' reduce using rule 123 (maybeasm) ';' reduce using rule 123 (maybeasm) ',' reduce using rule 123 (maybeasm) '{' reduce using rule 26 (@7) @7 go to state 93 maybeasm go to state 94state 42 datadef -> typed_declspecs ';' . (rule 14) $default reduce using rule 14 (datadef)state 43 datadef -> typed_declspecs setspecs . initdecls ';' (rule 12) fndef -> typed_declspecs setspecs . declarator @3 xdecls @4 compstmt_or_error (rule 20) fndef -> typed_declspecs setspecs . declarator error (rule 21) IDENTIFIER shift, and go to state 36 TYPENAME shift, and go to state 95 '*' shift, and go to state 96 '(' shift, and go to state 97 initdecls go to state 98 initdcl go to state 99 declarator go to state 100 after_type_declarator go to state 101 notype_declarator go to state 102state 44 declmods -> declmods SCSPEC . (rule 106) $default reduce using rule 106 (declmods)state 45 declmods -> declmods TYPE_QUAL . (rule 105) $default reduce using rule 105 (declmods)state 46 datadef -> declmods ';' . (rule 13) $default reduce using rule 13 (datadef)state 47 datadef -> declmods setspecs . notype_initdecls ';' (rule 11) fndef -> declmods setspecs . notype_declarator @5 xdecls @6 compstmt_or_error (rule 24)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -