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."
531531 (point-max )))))))))
532532
533533(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 .
535535
536- For example :
536+ For examples :
537537
538538Stopped 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)))
543541 (when index
544542 (list :path (match-string 1 string)
545543 :span (haskell-debug-parse-span (match-string 2 string))
You can’t perform that action at this time.
0 commit comments