File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -531,15 +531,13 @@ some old history, then display that."
531
531
(point-max )))))))))
532
532
533
533
(defun haskell-debug-parse-stopped-at (string )
534
- " Parse the location stopped at from the given string .
534
+ " Parse the location stopped at from the given STRING .
535
535
536
- For example :
536
+ For examples :
537
537
538
538
Stopped at /home/foo/project/src/x.hs:6:25-36
539
-
540
- "
541
- (let ((index (string-match " Stopped at \\ ([^:]+\\ ):\\ (.+\\ )\n ?"
542
- string)))
539
+ Stopped in X.test, /home/foo/project/src/x.hs:6:25-36"
540
+ (let ((index (string-match " Stopped \\ (?:at\\ |in [^,]+,\\ ) \\ ([^:]+\\ ):\\ (.+\\ )\n ?" string)))
543
541
(when index
544
542
(list :path (match-string 1 string)
545
543
:span (haskell-debug-parse-span (match-string 2 string))
You can’t perform that action at this time.
0 commit comments