code: func yaml_parser_fetch_stream_end(parser *yaml_parser_t) bool {
  
  	// Force new line.
  	if parser.mark.column != 0 {
  		parser.mark.column = 0
  		parser.mark.line++
  	}
  
  	// Reset the indentation level.
  	if !yaml_parser_unroll_indent(parser, -1) {
  		return false
  	}
  
  	// Reset simple keys.
  	if !yaml_parser_remove_simple_key(parser) {
  		return false
  	}
  
  	parser.simple_key_allowed = false
  
  	// Create the STREAM-END token and append it to the queue.
  	token := yaml_token_t{
  		typ:        yaml_STREAM_END_TOKEN,
  		start_mark: parser.mark,
  		end_mark:   parser.mark,
  	}
  	yaml_insert_token(parser, -1, &token)
  	return true
  }
docs: // Produce the STREAM-END token and shut down the scanner.