From bab31e2d81afaf54d168a68e7967ea5fe36edcb2 Mon Sep 17 00:00:00 2001 From: Kamil Jakubus Date: Mon, 14 Oct 2024 08:03:53 +0200 Subject: [PATCH] parser: add more expression for assignment target Fixes #95 --- grammar.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/grammar.js b/grammar.js index e637014..8be435e 100644 --- a/grammar.js +++ b/grammar.js @@ -274,7 +274,9 @@ module.exports = grammar({ $.identifier, $.qualified_name, $.object_access, - $.member_access + $.member_access, + $.function_call, + $.array_access ) ) ),