Skip to content

Commit 463590c

Browse files
[Syntax] Allow empty arguments
1 parent 0e90d3f commit 463590c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"printableName": "Cache Web Terminal",
66
"description": "Web-based terminal emulator for Caché administering.",
77
"author": "ZitRo",
8-
"version": "4.7.1",
8+
"version": "4.7.2",
99
"gaID": "UA-83005064-2",
1010
"releaseNumber": 26,
1111
"scripts": {

src/client/js/parser/grammar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -833,6 +833,7 @@ rule("argumentList").split(
833833

834834
rule("nonEmptyArgumentList").branch().split(
835835
char({ value: ".", class: "argument" }).id({ class: "argument" }),
836+
char(",").optWhitespace().merge(),
836837
call("expression")
837838
).split(
838839
char(",").optWhitespace().merge(),

0 commit comments

Comments
 (0)