Skip to content

Commit

Permalink
Deparser: Set A_EXPR node context for deparseExpr and deparseFuncCall
Browse files Browse the repository at this point in the history
This allows us to handle keyword-style FuncCalls correctly in
deparseFuncCall, as will be done in a subsequent commit.

Note that the safe choice here is to set the context to NONE, which
intends to add parenthesis in places where a_expr is not allowed
(b_expr or c_expr can be turned into an a_expr by being wrapped in parens)
  • Loading branch information
lfittl committed Dec 18, 2024
1 parent a41b6a3 commit a203082
Showing 1 changed file with 140 additions and 139 deletions.
Loading

0 comments on commit a203082

Please sign in to comment.