Permalink
Browse files

plumbing: use character offset info in OCaml error messages

  • Loading branch information...
1 parent 781cccd commit b4f445ae79eb01e91b7e14343d8ae4b0c7e3264c @raphael-proust raphael-proust committed Jan 29, 2013
Showing with 8 additions and 0 deletions.
  1. +8 −0 lib/plumbing
View
@@ -11,6 +11,14 @@ attr add addr=$2
plumb to edit
plumb client $editor
+type is text
+data matches 'File "([.a-zA-Z¡-<U+FFFF>0-9_/\-]*[a-zA-Z¡-<U+FFFF>0-9_/\-])", line ([0-9]+), characters ([0-9]+)-([0-9]+):'
+arg isfile $1
+data set $file
+attr add addr=$2-#0+#$3,$2-#0+#$4
+plumb to edit
+plumb client $editor
+
# Github
type is text
data matches 'GH/([a-zA-z]+)/([a-zA-Z_\-]+)#([0-9]+)'

0 comments on commit b4f445a

Please sign in to comment.