parser_obj=self.parser_by_address(parser)# We don't try to make a new Parser() object here, because it has to have been done in the corresponding enter_h_do_parse() call
previous_parser=parser_stack.pop()
top_of_stack=parser_stack.peek()
asserttop_of_stack==parser_obj,"parser function argument is different from parser on top of stack"
# The rationale for handling the "current" parser separately from stack:
# Parsers are only pushed on the stack in perform_lowlevel_parse, which doesn't get called when h_do_parse() gets the result from cache.
# If other backends are supported, this might change to pushing/popping the stack in h_do_parse()