| ... | ... | @@ -55,7 +55,7 @@ static AstNode *ast_parse_bool_or_expr(ParseContext *pc); |
| 55 | 55 | static AstNode *ast_parse_bool_and_expr(ParseContext *pc); |
| 56 | 56 | static AstNode *ast_parse_compare_expr(ParseContext *pc); |
| 57 | 57 | static AstNode *ast_parse_bitwise_expr(ParseContext *pc); |
| 58 | | static AstNode *ast_parse_bit_shit_expr(ParseContext *pc); |
| 58 | static AstNode *ast_parse_bit_shift_expr(ParseContext *pc); |
| 59 | 59 | static AstNode *ast_parse_addition_expr(ParseContext *pc); |
| 60 | 60 | static AstNode *ast_parse_multiply_expr(ParseContext *pc); |
| 61 | 61 | static AstNode *ast_parse_prefix_expr(ParseContext *pc); |
| ... | ... | @@ -1257,11 +1257,11 @@ static AstNode *ast_parse_compare_expr(ParseContext *pc) { |
| 1257 | 1257 | |
| 1258 | 1258 | // BitwiseExpr <- BitShiftExpr (BitwiseOp BitShiftExpr)* |
| 1259 | 1259 | static AstNode *ast_parse_bitwise_expr(ParseContext *pc) { |
| 1260 | | return ast_parse_bin_op_expr(pc, BinOpChainInf, ast_parse_bitwise_op, ast_parse_bit_shit_expr); |
| 1260 | return ast_parse_bin_op_expr(pc, BinOpChainInf, ast_parse_bitwise_op, ast_parse_bit_shift_expr); |
| 1261 | 1261 | } |
| 1262 | 1262 | |
| 1263 | 1263 | // BitShiftExpr <- AdditionExpr (BitShiftOp AdditionExpr)* |
| 1264 | | static AstNode *ast_parse_bit_shit_expr(ParseContext *pc) { |
| 1264 | static AstNode *ast_parse_bit_shift_expr(ParseContext *pc) { |
| 1265 | 1265 | return ast_parse_bin_op_expr(pc, BinOpChainInf, ast_parse_bit_shift_op, ast_parse_addition_expr); |
| 1266 | 1266 | } |
| 1267 | 1267 | |