fix error
This commit is contained in:
parent
f4f7df05b8
commit
553527c88c
1 changed files with 2 additions and 2 deletions
|
@ -546,10 +546,10 @@ function tyArgItemAux(input, pos)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
function tyOfArgsAux(input)
|
function tyOfArgsAux(input, pos)
|
||||||
tyArgItem = Psr(tyArgItemAux)
|
tyArgItem = Psr(tyArgItemAux)
|
||||||
rawFunc = seq([typ("lParen"), ty, many0(tyArgItem), typ("rParen")])
|
rawFunc = seq([typ("lParen"), ty, many0(tyArgItem), typ("rParen")])
|
||||||
res = rawFunc.fun(input)
|
res = rawFunc.fun(input, pos)
|
||||||
if res != nothing
|
if res != nothing
|
||||||
matched = vcat([("%argType")], vcat([res.matched[2]], res.matched[3]))
|
matched = vcat([("%argType")], vcat([res.matched[2]], res.matched[3]))
|
||||||
res = ParserResult(matched, res.remained)
|
res = ParserResult(matched, res.remained)
|
||||||
|
|
Loading…
Reference in a new issue