html :: HTMLPage :: close
Ensure: tag = previous.tag
# Close previously opened tag # Ensure: tag = previous.tag fun close(tag: String) do if not tag == current.tag then print "Error: Trying to close '{tag}', last opened tag was '{current.tag}'." abort end current = stack.pop end