Skip to content

Commit 4a15fb3

Browse files
committed
Merge pull request #995 from codygman/fix-modulestring-regex
Add case for haskell-debug-parse-module regex to parse
2 parents 6c3ecf6 + 694b83c commit 4a15fb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

haskell-debug.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -713,9 +713,9 @@ variances in source span notation."
713713
For example:
714714
715715
X ( /home/foo/X.hs, interpreted )
716-
716+
Main ( /home/foo/X.hs, /home/foo/X.o )
717717
"
718-
(if (string-match "^\\([^ ]+\\)[ ]+( \\([^ ]+?\\), [a-z]+ )$"
718+
(if (string-match "\\([^ ]+\\)[ ]+( \\([^ ]+?\\), [/a-zA-Z0-9\.]+ )$"
719719
string)
720720
(list :module (match-string 1 string)
721721
:path (match-string 2 string))

0 commit comments

Comments
 (0)