code: func yaml_parser_stale_simple_keys(parser *yaml_parser_t) bool {
  	// Check for a potential simple key for each flow level.
  	for i := range parser.simple_keys {
  		simple_key := &parser.simple_keys[i]
  
  		// The specification requires that a simple key
  		//
  		//  - is limited to a single line,
  		//  - is shorter than 1024 characters.
  		if simple_key.possible && (simple_key.mark.line < parser.mark.line || simple_key.mark.index+1024 < parser.mark.index) {
  
  			// Check if the potential simple key to be removed is required.
  			if simple_key.required {
  				return yaml_parser_set_scanner_error(parser,
  					"while scanning a simple key", simple_key.mark,
  					"could not find expected ':'")
  			}
  			simple_key.possible = false
  		}
  	}
  	return true
  }
docs: // Check the list of potential simple keys and remove the positions that
  // cannot contain simple keys anymore.