summaryrefslogtreecommitdiff
path: root/ocaml-binary-annot/camlp4/Camlp4Parsers/Camlp4QuotationExpander.ml
diff options
context:
space:
mode:
Diffstat (limited to 'ocaml-binary-annot/camlp4/Camlp4Parsers/Camlp4QuotationExpander.ml')
-rw-r--r--ocaml-binary-annot/camlp4/Camlp4Parsers/Camlp4QuotationExpander.ml33
1 files changed, 33 insertions, 0 deletions
diff --git a/ocaml-binary-annot/camlp4/Camlp4Parsers/Camlp4QuotationExpander.ml b/ocaml-binary-annot/camlp4/Camlp4Parsers/Camlp4QuotationExpander.ml
new file mode 100644
index 0000000000..fb225a583d
--- /dev/null
+++ b/ocaml-binary-annot/camlp4/Camlp4Parsers/Camlp4QuotationExpander.ml
@@ -0,0 +1,33 @@
+open Camlp4; (* -*- camlp4r -*- *)
+(****************************************************************************)
+(* *)
+(* Objective Caml *)
+(* *)
+(* INRIA Rocquencourt *)
+(* *)
+(* Copyright 2002-2006 Institut National de Recherche en Informatique et *)
+(* en Automatique. All rights reserved. This file is distributed under *)
+(* the terms of the GNU Library General Public License, with the special *)
+(* exception on linking described in LICENSE at the top of the Objective *)
+(* Caml source tree. *)
+(* *)
+(****************************************************************************)
+
+(* Authors:
+ * - Daniel de Rauglaudre: initial version
+ * - Nicolas Pouillard: refactoring
+ *)
+
+
+module Id = struct
+ value name = "Camlp4QuotationExpander";
+ value version = Sys.ocaml_version;
+end;
+
+module Make (Syntax : Sig.Camlp4Syntax)
+= struct
+ module M = Camlp4QuotationCommon.Make Syntax Syntax.AntiquotSyntax;
+ include M;
+end;
+
+let module M = Register.OCamlSyntaxExtension Id Make in ();