]> code.delx.au - gnu-emacs/blobdiff - lisp/cedet/semantic/symref/idutils.el
; Merge from origin/emacs-24
[gnu-emacs] / lisp / cedet / semantic / symref / idutils.el
index c22a6a3b7fb6b6713286ab563e5660249cffe4d5..655b000ccdda84ae2f7cd4cf5d3da7d20a69e0ac 100644 (file)
@@ -60,7 +60,7 @@ Moves cursor to end of the match."
         (when (re-search-forward "^\\([^ ]+\\) " nil t)
           (match-string 1)))
        (t
-        (when (re-search-forward "^\\([^ :]+\\):+\\([0-9]+\\):" nil t)
+        (when (re-search-forward "^\\(\\(?:[a-zA-Z]:\\)?[^:\n]+\\):\\([0-9]+\\):" nil t)
           (cons (string-to-number (match-string 2))
                 (expand-file-name (match-string 1) default-directory))
           ))))