From 553527c88c68a635b7b163bf8ab180a18e4a02ef Mon Sep 17 00:00:00 2001 From: Tan Kian-ting Date: Tue, 9 Sep 2025 21:14:17 +0800 Subject: [PATCH] fix error --- src/parser.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parser.jl b/src/parser.jl index 2b0fff4..7bb3371 100644 --- a/src/parser.jl +++ b/src/parser.jl @@ -546,10 +546,10 @@ function tyArgItemAux(input, pos) end -function tyOfArgsAux(input) +function tyOfArgsAux(input, pos) tyArgItem = Psr(tyArgItemAux) rawFunc = seq([typ("lParen"), ty, many0(tyArgItem), typ("rParen")]) - res = rawFunc.fun(input) + res = rawFunc.fun(input, pos) if res != nothing matched = vcat([("%argType")], vcat([res.matched[2]], res.matched[3])) res = ParserResult(matched, res.remained)