summaryrefslogtreecommitdiff
path: root/rust-mode.el
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2013-08-26 02:28:27 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2013-08-26 02:28:27 +0200
commit0a81930050aae32ed800a4e801924216beea353c (patch)
tree2607bbb4f1be2952502837ec02a09e59232d5058 /rust-mode.el
parent2e671d96c816312bd1ffc4221d225a51c2be35cd (diff)
downloadrust-mode-0a81930050aae32ed800a4e801924216beea353c.tar.gz
extend file regexp to match files with embedded spaces.
Diffstat (limited to 'rust-mode.el')
-rw-r--r--rust-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-mode.el b/rust-mode.el
index af1c28b..4c257e9 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -229,7 +229,7 @@ The initializer is `DEFAULT-TAB-WIDTH'.")
;; regexp (which is broken on a few edge cases), add our own 'rust
;; compilation error regexp and use it instead.
(defvar rustc-compilation-regexps
- (let ((file "\\([^ \n]+\\)")
+ (let ((file "^\\([^\n]+\\)")
(start-line "\\([0-9]+\\)")
(start-col "\\([0-9]+\\)")
(end-line "\\([0-9]+\\)")