Correctly parse Windows paths in Optimization Coach.

Closes PR12966.
This commit is contained in:
Vincent St-Amour 2012-08-10 16:26:29 -04:00
parent 444bd434f9
commit 93e2a74f09

View File

@ -67,7 +67,9 @@
;; _Where_ this happens (in which function, can't get more precise info).
(string-append
;; maybe full path info: path, line, col, name
"( in: (([^ :]+):([^ :]+):([^ :]+): )?([^ ]+))?"
;; path allows `:' as the second character (and first, but not a problem)
;; to support absolute windows paths (e.g. C:\...)
"( in: (([^ :]?[^ ]?[^ :]+):([^ :]+):([^ :]+): )?([^ ]+))?"
;; maybe module info, useless to us (at least for now)
"( in module: [^ ]+)?")
" size: ([^ ]+) threshold: ([^ ]+)"