git://git.cassowary.me
/
sarabande.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60ee882
)
fix <~
author
cassowarii
<cassowary@cassowary.me>
Fri, 10 Jul 2026 18:53:20 +0000
(11:53 -0700)
committer
cassowarii
<cassowary@cassowary.me>
Fri, 10 Jul 2026 18:53:20 +0000
(11:53 -0700)
src/parse/parser.c
patch
|
blob
|
history
diff --git
a/src/parse/parser.c
b/src/parse/parser.c
index
b255e5a
..
79898aa
100644
(file)
--- a/
src/parse/parser.c
+++ b/
src/parse/parser.c
@@
-625,6
+625,7
@@
static sbAst parse_expr(hParser pr, u8 min_precedence) {
} else if (op.type == T_BACKSQUIGARROW) {
/* a <~ b, c, d can have multiple comma things on the right side */
if (!expect(pr, T_LPAREN)) return syntax_error(pr);
+ ast_type = AST_NODE_METHODCALL;
rhs = parse_comma_exprs(pr, NULL);
if (!expect(pr, T_RPAREN)) return syntax_error(pr);
} else if (op.type == T_PAAMAYIM_NEKUDOTAYIM) {