PR#5442: use safe_string_escaped instead of String.escaped

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11984 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Jérémie Dimino 2011-12-30 20:00:14 +00:00
parent 334a2fdbe6
commit 6075cd4c6d
1 changed files with 1 additions and 1 deletions

View File

@ -471,7 +471,7 @@ module Make (Loc : Sig.Loc) : Sig.Camlp4Ast with module Loc = Loc =
value meta_loc = meta_loc_expr;
module Expr =
struct
value meta_string _loc s = Ast.ExStr _loc (String.escaped s);
value meta_string _loc s = Ast.ExStr _loc (safe_string_escaped s);
value meta_int _loc s = Ast.ExInt _loc s;
value meta_float _loc s = Ast.ExFlo _loc s;
value meta_char _loc s = Ast.ExChr _loc (String.escaped s);