Fix: Function calls with multiple args

This commit is contained in:
Johan B.W. de Vries 2025-01-12 13:16:31 +01:00
parent 241e279782
commit 5939b7cba5

View File

@ -251,6 +251,11 @@ parsestat indent:
break break
/ /
skip skip
calc isfirst eq first "1"
calc isnotfirst not isfirst
if isnotfirst
emit ", "
/
calc char peek calc char peek
calc isquote eq char quote calc isquote eq char quote
calc isnotquote not isquote calc isnotquote not isquote
@ -260,11 +265,6 @@ parsestat indent:
if isnotquote if isnotquote
parseexprvarref parseexprvarref
/ /
calc isfirst eq first "1"
calc isnotfirst not isfirst
if isnotfirst
emit ", "
/
set first "0" set first "0"
/ /
skipchar eol skipchar eol