我有以下antlr4语法,我得到相互左递归错误,我该如何解决?
expr : expr_prefix term ;
expr_prefix : expr_prefix term addop
| () ;
term : factor_prefix factor;
factor_prefix : factor_prefix factor mulop
| () ;
factor : primary
| call_expr ;
primary : ( expr )
| id
| INTLITERAL
| FLOATLITERAL ;