We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b45ede0 commit 6dd3738Copy full SHA for 6dd3738
haskell-debug.el
@@ -531,15 +531,13 @@ some old history, then display that."
531
(point-max)))))))))
532
533
(defun haskell-debug-parse-stopped-at (string)
534
- "Parse the location stopped at from the given string.
+ "Parse the location stopped at from the given STRING.
535
536
-For example:
+For examples:
537
538
Stopped at /home/foo/project/src/x.hs:6:25-36
539
-
540
-"
541
- (let ((index (string-match "Stopped at \\([^:]+\\):\\(.+\\)\n?"
542
- string)))
+Stopped in X.test, /home/foo/project/src/x.hs:6:25-36"
+ (let ((index (string-match "Stopped \\(?:at\\|in [^,]+,\\) \\([^:]+\\):\\(.+\\)\n?" string)))
543
(when index
544
(list :path (match-string 1 string)
545
:span (haskell-debug-parse-span (match-string 2 string))
0 commit comments