Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deparser: Correctly set A_EXPR context in deparseExpr for deparseAExpr
Note that the deparseAExpr function (used for deparsing A_Expr nodes) can be called from both a_expr and b_expr contexts, but we previously always passed NONE as the context. Besides now passing down the context, the function also used to add outer parenthesis to AEXPR_OP calls. This appears unnecessary (b_expr allows operator expressions without wrapping parenthesis) and was not utilized in practice, so remove that to avoid extra parenthesis.
- Loading branch information