summaryrefslogtreecommitdiffstats
path: root/parsing/syntaxerr.ml
diff options
context:
space:
mode:
authorJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2002-04-18 08:50:43 +0000
committerJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2002-04-18 08:50:43 +0000
commit59d5d16cf342504a7b59aebe5ab879eb4ebdc839 (patch)
tree8fb04d1623a85239700637b5f1bc0010497a966d /parsing/syntaxerr.ml
parent87f8871ef6cc96b268b7ca4dbe594691f26bfb32 (diff)
affiche numeros de caracteres ET soulignement pour dumb
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4698 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'parsing/syntaxerr.ml')
-rw-r--r--parsing/syntaxerr.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/parsing/syntaxerr.ml b/parsing/syntaxerr.ml
index 538166145..182863f13 100644
--- a/parsing/syntaxerr.ml
+++ b/parsing/syntaxerr.ml
@@ -26,7 +26,7 @@ exception Escape_error
let report_error ppf = function
| Unclosed(opening_loc, opening, closing_loc, closing) ->
if String.length !Location.input_name = 0
- && Location.highlight_locations opening_loc closing_loc
+ && Location.highlight_locations ppf opening_loc closing_loc
then fprintf ppf "Syntax error: '%s' expected, \
the highlighted '%s' might be unmatched" closing opening
else begin