Skip to content

Commit

Permalink
New regex that matches errors 'on line x of file in section \n from l…
Browse files Browse the repository at this point in the history
…ine x of file...', for example undefined mixin errors.
  • Loading branch information
antonj committed Apr 17, 2011
1 parent 1b34031 commit 5289863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scss-mode.el
Expand Up @@ -47,7 +47,7 @@
:type 'boolean
:group 'scss)

(defcustom scss-compile-error-regex '("\\(Syntax error:\s*.*\\)\n\s*on line\s*\\([0-9]+\\) of \\([^ ]+\\)$" 3 2 nil nil 1)
(defcustom scss-compile-error-regex '("\\(Syntax error:\s*.*\\)\n\s*on line\s*\\([0-9]+\\) of \\([^, \n]+\\)" 3 2 nil nil 1)
"Regex for finding line number file and error message in
compilation buffers, syntax from
`compilation-error-regexp-alist' (REGEXP FILE LINE COLUMN TYPE
Expand Down

0 comments on commit 5289863

Please sign in to comment.