code: def parse_gcc_style_error_message(message, filename, has_column=True):
      
      colons = 2 if has_column else 1
      prefix = filename + ':'
      if not message.startswith(prefix):
          raise ValueError()
      message = message[len(prefix):]
      split_message = message.split(':', colons)
      line_number = int(split_message[0])
      return (line_number,
              split_message[colons].strip())
docs: Parse GCC-style error message.
  
      Return (line_number, message). Raise ValueError if message cannot be
      parsed.