 
   parse = (line, cwd) ->
     if line.match swi_regex
-      [type, file, line, message] = line.match(swi_regex)[1..4]
-      return [file, line, 0, type, message]
+      [type, file, line, column, message] = line.match(swi_regex)[1..5]
+      return [file, line, column, type, message]
     lines = line.split("\n")
     if lines[0].endsWith("error")
       message = lines[1].substring(2)

            toReturn.push(
              type: type,
              text: message,
              filePath: path.join(cwd, file).normalize()
              range: [[line - 1, column - 1], [line - 1, column - 1]]
            )
        Resolve toReturn

    \s+     #A space.
    (\S+):  #The file with issue.
    (\d+):  #The line number with issue.
    (\d+):  #The column number with issue.
    \s+     #A space.
    (.*)    #A message explaining the issue at hand.
  ///
