File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ RUN(NAME expr_01 LABELS cpython llvm c)
134
134
RUN(NAME expr_02 LABELS cpython llvm c)
135
135
RUN(NAME expr_03 LABELS cpython llvm c)
136
136
RUN(NAME expr_04 LABELS cpython llvm c)
137
- RUN(NAME expr_05 LABELS cpython llvm)
137
+ RUN(NAME expr_05 LABELS cpython llvm c )
138
138
RUN(NAME expr_06 LABELS cpython llvm c)
139
139
RUN(NAME expr_07 LABELS cpython llvm)
140
140
RUN(NAME expr_08 LABELS llvm c)
Original file line number Diff line number Diff line change @@ -823,7 +823,11 @@ R"(#include <stdio.h>
823
823
case (ASR::binopType::Sub) : { last_expr_precedence = 6 ; break ; }
824
824
case (ASR::binopType::Mul) : { last_expr_precedence = 5 ; break ; }
825
825
case (ASR::binopType::Div) : { last_expr_precedence = 5 ; break ; }
826
- case (ASR::binopType::BitAnd ) : { last_expr_precedence = 5 ; break ; }
826
+ case (ASR::binopType::BitAnd ) : { last_expr_precedence = 11 ; break ; }
827
+ case (ASR::binopType::BitOr ) : { last_expr_precedence = 13 ; break ; }
828
+ case (ASR::binopType::BitXor ) : { last_expr_precedence = 12 ; break ; }
829
+ case (ASR::binopType::BitLShift) : { last_expr_precedence = 7 ; break ; }
830
+ case (ASR::binopType::BitRShift) : { last_expr_precedence = 7 ; break ; }
827
831
case (ASR::binopType::Pow) : {
828
832
src = " pow(" + left + " , " + right + " )" ;
829
833
if (is_c) {
You can’t perform that action at this time.
0 commit comments