Browse files

Support new error reporting format in coffeescript

Fixes #398 - it seems the coffee -l command has a new way of reporting
errors that the current version of the module does not support, this
change adds a regex to match that new format.
  • Loading branch information...
marcins committed Apr 1, 2013
1 parent 12c0fc4 commit 988d68e5583f6c5aa040a77f353b043f1aaa48ff
Showing with 3 additions and 0 deletions.
  1. +3 −0 sublimelinter/modules/
@@ -24,6 +24,9 @@ def parse_errors(self, view, errors, lines, errorUnderlines,
if not match:
match = re.match(r'.*?Error: (?P<error>.+) '
r'on line (?P<line>\d+)', line)
+ if not match:
+ match = re.match(r'[^:]+:(?P<line>\d+):\d+: '
+ r'error: (?P<error>.+)', line)
if match:
line, error ='line'),'error')

0 comments on commit 988d68e

Please sign in to comment.