cont : remove upper limit on optional args

This commit is contained in:
Alde Rojas 2026-03-31 22:27:26 -05:00
parent d4e7f58f79
commit aff47d5a3b
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ common_peg_parser analyze_tools::build_tool_parser_tag_tagged(parser_build_conte
for (const auto & opt : optional_parsers) {
any_opt |= opt;
}
args_seq = args_seq + p.repeat(p.space() + any_opt, 0, (int) optional_parsers.size());
args_seq = args_seq + p.repeat(p.space() + any_opt, 0, -1);
}
// Build call_id parser based on position (if supported)