📄 fincyacc.output
字号:
expr_primary -> '(' . expr ')' (rule 119) V_TRUE shift, and go to state 53 V_FALSE shift, and go to state 54 V_NULL shift, and go to state 55 ADDR_OF shift, and go to state 56 CONTENT_OF shift, and go to state 57 VOID shift, and go to state 4 CHAR shift, and go to state 5 SHORT shift, and go to state 6 INT shift, and go to state 7 FLOAT shift, and go to state 8 DOUBLE shift, and go to state 9 POINTER shift, and go to state 10 STRING shift, and go to state 11 BOOL shift, and go to state 12 NATIVE shift, and go to state 14 STATIC shift, and go to state 15 UNSIGNED shift, and go to state 16 PLUS shift, and go to state 58 SUB shift, and go to state 59 IDENTIFIER shift, and go to state 18 V_INT shift, and go to state 60 V_FLOAT shift, and go to state 61 V_STRING shift, and go to state 62 '(' shift, and go to state 63 type go to state 94 type_list go to state 27 type_basic go to state 28 identifier go to state 95 literal go to state 65 expr go to state 96 expr_assign go to state 97 expr_condition go to state 67 expr_logic_or go to state 68 expr_logic_and go to state 69 expr_equality go to state 70 expr_relational go to state 71 expr_additive go to state 72 expr_multiplicative go to state 73 expr_cast go to state 74 expr_unary go to state 75 expr_postfix go to state 76 expr_primary go to state 77state 64 expr_primary -> identifier . (rule 120) $default reduce using rule 120 (expr_primary)state 65 expr_primary -> literal . (rule 118) $default reduce using rule 118 (expr_primary)state 66 declarator -> identifier ASSIGN expr_assign . (rule 19) $default reduce using rule 19 (declarator)state 67 expr_assign -> expr_condition . (rule 76) $default reduce using rule 76 (expr_assign)state 68 expr_condition -> expr_logic_or . (rule 78) expr_condition -> expr_logic_or . '?' expr ':' expr_condition (rule 79) expr_logic_or -> expr_logic_or . '|' '|' expr_logic_and (rule 81) '?' shift, and go to state 98 '|' shift, and go to state 99 $default reduce using rule 78 (expr_condition)state 69 expr_logic_or -> expr_logic_and . (rule 80) expr_logic_and -> expr_logic_and . '&' '&' expr_equality (rule 83) '&' shift, and go to state 100 $default reduce using rule 80 (expr_logic_or)state 70 expr_logic_and -> expr_equality . (rule 82) expr_equality -> expr_equality . EQ expr_relational (rule 85) expr_equality -> expr_equality . NE expr_relational (rule 86) EQ shift, and go to state 101 NE shift, and go to state 102 $default reduce using rule 82 (expr_logic_and)state 71 expr_equality -> expr_relational . (rule 84) expr_relational -> expr_relational . '<' expr_additive (rule 88) expr_relational -> expr_relational . '>' expr_additive (rule 89) expr_relational -> expr_relational . LE expr_additive (rule 90) expr_relational -> expr_relational . GE expr_additive (rule 91) LE shift, and go to state 103 GE shift, and go to state 104 '<' shift, and go to state 105 '>' shift, and go to state 106 $default reduce using rule 84 (expr_equality)state 72 expr_relational -> expr_additive . (rule 87) expr_additive -> expr_additive . SUB expr_multiplicative (rule 93) expr_additive -> expr_additive . PLUS expr_multiplicative (rule 94) PLUS shift, and go to state 107 SUB shift, and go to state 108 $default reduce using rule 87 (expr_relational)state 73 expr_additive -> expr_multiplicative . (rule 92) expr_multiplicative -> expr_multiplicative . '*' expr_cast (rule 96) expr_multiplicative -> expr_multiplicative . '/' expr_cast (rule 97) '*' shift, and go to state 109 '/' shift, and go to state 110 $default reduce using rule 92 (expr_additive)state 74 expr_multiplicative -> expr_cast . (rule 95) $default reduce using rule 95 (expr_multiplicative)state 75 expr_assign -> expr_unary . ASSIGN expr_assign (rule 77) expr_cast -> expr_unary . (rule 98) ASSIGN shift, and go to state 111 $default reduce using rule 98 (expr_cast)state 76 expr_unary -> expr_postfix . (rule 100) expr_postfix -> expr_postfix . '[' expr ']' (rule 112) expr_postfix -> expr_postfix . INC (rule 113) expr_postfix -> expr_postfix . DEC (rule 114) expr_postfix -> expr_postfix . '.' identifier (rule 115) expr_postfix -> expr_postfix . @5 '(' param_list ')' (rule 117) INC shift, and go to state 112 DEC shift, and go to state 113 '[' shift, and go to state 114 '.' shift, and go to state 115 '(' reduce using rule 116 (@5) $default reduce using rule 100 (expr_unary) @5 go to state 116state 77 expr_postfix -> expr_primary . (rule 111) $default reduce using rule 111 (expr_postfix)state 78 decl_variable -> type identifier '[' V_INT . ']' (rule 12) ']' shift, and go to state 117state 79 decl_variable -> type identifier '[' ']' . (rule 13) $default reduce using rule 13 (decl_variable)state 80 decl_function -> type identifier @2 '(' . decl_param_type_list ')' statement_block (rule 32) VOID shift, and go to state 4 CHAR shift, and go to state 5 SHORT shift, and go to state 6 INT shift, and go to state 7 FLOAT shift, and go to state 8 DOUBLE shift, and go to state 9 POINTER shift, and go to state 10 STRING shift, and go to state 11 BOOL shift, and go to state 12 NATIVE shift, and go to state 14 STATIC shift, and go to state 15 UNSIGNED shift, and go to state 16 IDENTIFIER shift, and go to state 18 $default reduce using rule 35 (decl_param_list) decl_param_type_list go to state 118 decl_param_list go to state 119 decl_param go to state 120 type go to state 121 type_list go to state 27 type_basic go to state 28 identifier go to state 29state 81 decl_struct -> STRUCT identifier @1 '{' decl_field_list . '}' ';' (rule 21) decl_field_list -> decl_field_list . decl_field_declarator (rule 24) VOID shift, and go to state 4 CHAR shift, and go to state 5 SHORT shift, and go to state 6 INT shift, and go to state 7 FLOAT shift, and go to state 8 DOUBLE shift, and go to state 9 POINTER shift, and go to state 10 STRING shift, and go to state 11 BOOL shift, and go to state 12 NATIVE shift, and go to state 14 STATIC shift, and go to state 15 UNSIGNED shift, and go to state 16 IDENTIFIER shift, and go to state 18 '}' shift, and go to state 122 decl_field_declarator go to state 123 type go to state 83 type_list go to state 27 type_basic go to state 28 identifier go to state 29state 82 decl_field_list -> decl_field_declarator . (rule 23) $default reduce using rule 23 (decl_field_list)state 83 decl_field_declarator -> type . struct_declarator_list ';' (rule 25) decl_field_declarator -> type . identifier '[' V_INT ']' (rule 26) decl_field_declarator -> type . identifier '[' ']' (rule 27) IDENTIFIER shift, and go to state 18 struct_declarator_list go to state 124 struct_declarator go to state 125 identifier go to state 126state 84 decl_pkg -> PACKAGE V_STRING @3 '{' decl_pkg_func_list . '}' ';' (rule 46) decl_pkg_func_list -> decl_pkg_func_list . decl_pkg_func (rule 48) VOID shift, and go to state 4 CHAR shift, and go to state 5 SHORT shift, and go to state 6 INT shift, and go to state 7 FLOAT shift, and go to state 8 DOUBLE shift, and go to state 9 POINTER shift, and go to state 10 STRING shift, and go to state 11 BOOL shift, and go to state 12 NATIVE shift, and go to state 14 STATIC shift, and go to state 15 UNSIGNED shift, and go to state 16 IDENTIFIER shift, and go to state 18 '}' shift, and go to state 127 decl_pkg_func go to state 128 type go to state 86 type_list go to state 27 type_basic go to state 28 identifier go to state 29state 85 decl_pkg_func_list -> decl_pkg_func . (rule 47) $default reduce using rule 47 (decl_pkg_func_list)state 86 decl_pkg_func -> type . identifier @4 '(' decl_param_type_list ')' ';' (rule 50) IDENTIFIER shift, and go to state 18 identifier go to state 129state 87 expr_unary -> ADDR_OF error . (rule 105) $default reduce using rule 105 (expr_unary)state 88 expr_unary -> ADDR_OF '(' . expr_unary ')' (rule 103) expr_unary -> ADDR_OF '(' . error (rule 106) expr_unary -> ADDR_OF '(' . expr_unary error (rule 107) error shift, and go to state 130 V_TRUE shift, and go to state 53 V_FALSE shift, and go to state 54 V_NULL shift, and go to state 55 ADDR_OF shift, and go to state 56 CONTENT_OF shift, and go to state 57 PLUS shift, and go to state 58 SUB shift, and go to state 59 IDENTIFIER shift, and go to state 18 V_INT shift, and go to state 60 V_FLOAT shift, and go to state 61 V_STRING shift, and go to state 62 '(' shift, and go to state 131 identifier go to state 64 literal go to state 65 expr_unary go to state 132 expr_postfix go to state 76 expr_primary go to state 77state 89 expr_unary -> CONTENT_OF error . (rule 108) $default reduce using rule 108 (expr_unary)state 90 expr_unary -> CONTENT_OF '(' . expr_unary ')' (rule 104) expr_unary -> CONTENT_OF '(' . error (rule 109) expr_unary -> CONTENT_OF '(' . expr_unary error (rule 110) error shift, and go to state 133 V_TRUE shift, and go to state 53 V_FALSE shift, and go to state 54 V_NULL shift, and go to state 55 ADDR_OF shift, and go to state 56 CONTENT_OF shift, and go to state 57 PLUS shift, and go to state 58 SUB shift, and go to state 59 IDENTIFIER shift, and go to state 18 V_INT shift, and go to state 60 V_FLOAT shift, and go to state 61 V_STRING shift, and go to state 62 '(' shift, and go to state 131 identifier go to state 64 literal go to state 65 expr_unary go to state 134 expr_postfix go to state 76 expr_primary go to state 77state 91 expr_unary -> PLUS expr_cast . (rule 101) $default reduce using rule 101 (expr_unary)state 92 expr_cast -> expr_unary . (rule 98) $default reduce using rule 98 (expr_cast)state 93 expr_unary -> SUB expr_cast . (rule 102) $default reduce using rule 102 (expr_unary)state 94 expr_cast -> '(' type . ')' expr_cast (rule 99) ')' shift, and go to state 135state 95 type -> identifier . (rule 52) expr_primary -> identifier . (rule 120) error reduce using rule 52 (type) IDENTIFIER reduce using rule 52 (type) ')' reduce using rule 52 (type) ')' [reduce using rule 120 (expr_primary)] $default reduce using rule 120 (expr_primary)state 96 expr -> expr . ',' expr_assign (rule 75) expr_primary -> '(' expr . ')' (rule 119) ',' shift, and go to state 136 ')' shift, and go to state 137state 97 expr -> expr_assign . (rule 74) $default reduce using rule 74 (expr)state 98 expr_condition -> expr_logic_or '?' . expr ':' expr_condition (rule 79) V_TRUE shift, and go to state 53 V_FALSE shift, and go to state 54 V_NULL shift, and go to state 55 ADDR_OF shift, and go to state 56 CONTENT_OF shift, and go to state 57 PLUS shift, and go to state 58 SUB shift, and go to state 59 IDENTIFIER shift, and go to state 18 V_INT shift, and go to state 60 V_FLOAT shift, and go to state 61 V_STRING shift, and go to state 62 '(' shift, and go to state 63 identifier go to state 64 literal go to state 65 expr go to state 138 expr_assign go to state 97 expr_condition go to state 67 expr_logic_or go to state 68 expr_logic_and go to state 69 expr_equality go to state 70 expr_relational go to state 71 expr_additive go to state 72 expr_multiplicative go to state 73 expr_cast go to state 74 expr_unary go to state 75 expr_postfix go to state 76 expr_primary go to state 77state 99 expr_logic_or -> expr_logic_or '|' . '|' expr_logic_and (rule 81) '|' shift, and go to state 139state 100
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -