diff --git a/src/protocol/parser/pass_definitions.rs b/src/protocol/parser/pass_definitions.rs index e6d6204d97a66a4f9a0493382f8c15fd4887cf04..1a1a92c07859c18f086da9214930b80c467bdd38 100644 --- a/src/protocol/parser/pass_definitions.rs +++ b/src/protocol/parser/pass_definitions.rs @@ -1635,6 +1635,10 @@ fn consume_parser_type( } } + for _ in 0..first_angle_depth { + consume_token(source, iter, TokenKind::CloseAngle); + } + return Ok(ParserType{ elements }); };