summaryrefslogtreecommitdiff
blob: 959a4be2ac1d4209b69d278125a2cac0d51153bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
diff -uNr ppx_custom_printf-113.33.00/CHANGES.md ppx_custom_printf-113.33.00+4.03/CHANGES.md
--- ppx_custom_printf-113.33.00/CHANGES.md	2016-03-09 16:44:54.000000000 +0100
+++ ppx_custom_printf-113.33.00+4.03/CHANGES.md	2016-03-22 15:13:50.000000000 +0100
@@ -1,3 +1,7 @@
+## 113.33.00+4.03
+
+Various updates to work with OCaml 4.03.0
+
 ## 113.24.00
 
 - OCaml makes no distinctions between "foo" and
diff -uNr ppx_custom_printf-113.33.00/format-lifter/META ppx_custom_printf-113.33.00+4.03/format-lifter/META
--- ppx_custom_printf-113.33.00/format-lifter/META	2016-03-18 12:08:01.000000000 +0100
+++ ppx_custom_printf-113.33.00+4.03/format-lifter/META	2016-03-22 17:51:36.000000000 +0100
@@ -1,6 +1,6 @@
 # OASIS_START
-# DO NOT EDIT (digest: 30e281114bcfdcf7ccf231691613c2e6)
-version = "113.33.00"
+# DO NOT EDIT (digest: 2c66a1ad37be0774b6cf2393020b734d)
+version = "113.33.00+4.03"
 description =
 "Printf-style format-strings for user-defined string conversion"
 archive(byte) = "ppx_format_lifter.cma"
diff -uNr ppx_custom_printf-113.33.00/INSTALL.txt ppx_custom_printf-113.33.00+4.03/INSTALL.txt
--- ppx_custom_printf-113.33.00/INSTALL.txt	2016-03-18 12:08:01.000000000 +0100
+++ ppx_custom_printf-113.33.00+4.03/INSTALL.txt	2016-03-22 17:51:36.000000000 +0100
@@ -1,5 +1,5 @@
 (* OASIS_START *)
-(* DO NOT EDIT (digest: aa3e5a8a416bfdc4bbbd15b0bcdbfede) *)
+(* DO NOT EDIT (digest: d41a009725728d3aa9236f47b80b9b12) *)
 
 This is the INSTALL file for the ppx_custom_printf distribution.
 
@@ -11,7 +11,7 @@
 
 In order to compile this package, you will need:
 
-* ocaml (>= 4.02.3)
+* ocaml (>= 4.03.0)
 * findlib (>= 1.3.2)
 * ppx_core for library ppx_custom_printf
 * ppx_driver for library ppx_custom_printf, executable ppx
diff -uNr ppx_custom_printf-113.33.00/_oasis ppx_custom_printf-113.33.00+4.03/_oasis
--- ppx_custom_printf-113.33.00/_oasis	2016-03-09 16:44:54.000000000 +0100
+++ ppx_custom_printf-113.33.00+4.03/_oasis	2016-03-22 15:13:50.000000000 +0100
@@ -1,8 +1,8 @@
 OASISFormat:      0.4
-OCamlVersion:     >= 4.02.3
+OCamlVersion:     >= 4.03.0
 FindlibVersion:   >= 1.3.2
 Name:             ppx_custom_printf
-Version:          113.33.00
+Version:          113.33.00+4.03
 Synopsis:         Printf-style format-strings for user-defined string conversion
 Authors:          Jane Street Group, LLC <opensource@janestreet.com>
 Copyrights:       (C) 2015-2016 Jane Street Group LLC <opensource@janestreet.com>
diff -uNr ppx_custom_printf-113.33.00/opam ppx_custom_printf-113.33.00+4.03/opam
--- ppx_custom_printf-113.33.00/opam	2016-03-18 12:08:01.000000000 +0100
+++ ppx_custom_printf-113.33.00+4.03/opam	2016-03-22 17:51:36.000000000 +0100
@@ -17,4 +17,4 @@
   "ppx_sexp_conv"
   "ppx_tools"     {>= "0.99.3"}
 ]
-available: [ ocaml-version >= "4.02.3" ]
+available: [ ocaml-version >= "4.03.0" ]
diff -uNr ppx_custom_printf-113.33.00/setup.ml ppx_custom_printf-113.33.00+4.03/setup.ml
--- ppx_custom_printf-113.33.00/setup.ml	2016-03-18 12:08:01.000000000 +0100
+++ ppx_custom_printf-113.33.00+4.03/setup.ml	2016-03-22 17:51:36.000000000 +0100
@@ -1,5 +1,5 @@
 (* OASIS_START *)
-(* DO NOT EDIT (digest: c9a6b21baa91c0680f8cba2e849204cf) *)
+(* DO NOT EDIT (digest: 924f534c954af21abd6099b21f46beee) *)
 (*
    Regenerated by OASIS v0.4.5
    Visit http://oasis.forge.ocamlcore.org for more information and
@@ -6666,12 +6666,12 @@
      package =
        {
           oasis_version = "0.4";
-          ocaml_version = Some (OASISVersion.VGreaterEqual "4.02.3");
+          ocaml_version = Some (OASISVersion.VGreaterEqual "4.03.0");
           findlib_version = Some (OASISVersion.VGreaterEqual "1.3.2");
           alpha_features = [];
           beta_features = [];
           name = "ppx_custom_printf";
-          version = "113.33.00";
+          version = "113.33.00+4.03";
           license =
             OASISLicense.DEP5License
               (OASISLicense.DEP5Unit
@@ -6841,7 +6841,7 @@
        };
      oasis_fn = Some "_oasis";
      oasis_version = "0.4.5";
-     oasis_digest = Some "Hd\2128>@-\017\228\178\138\253\228l<\r";
+     oasis_digest = Some "UJ\215>\004\182B+\173\217\151\0165\212\011,";
      oasis_exec = None;
      oasis_setup_args = [];
      setup_update = false
diff -uNr ppx_custom_printf-113.33.00/src/META ppx_custom_printf-113.33.00+4.03/src/META
--- ppx_custom_printf-113.33.00/src/META	2016-03-18 12:08:01.000000000 +0100
+++ ppx_custom_printf-113.33.00+4.03/src/META	2016-03-22 17:51:36.000000000 +0100
@@ -1,6 +1,6 @@
 # OASIS_START
-# DO NOT EDIT (digest: 2dabcf3bd944c3b9b0a168e17d64eb20)
-version = "113.33.00"
+# DO NOT EDIT (digest: 148f0da22163c9e0ef38850349ca8160)
+version = "113.33.00+4.03"
 description =
 "Printf-style format-strings for user-defined string conversion"
 requires =
diff -uNr ppx_custom_printf-113.33.00/src/ppx_custom_printf.ml ppx_custom_printf-113.33.00+4.03/src/ppx_custom_printf.ml
--- ppx_custom_printf-113.33.00/src/ppx_custom_printf.ml	2016-03-09 16:44:54.000000000 +0100
+++ ppx_custom_printf-113.33.00+4.03/src/ppx_custom_printf.ml	2016-03-22 15:13:50.000000000 +0100
@@ -182,7 +182,7 @@
     let ty = Parse.core_type lexbuf in
     let e = Ppx_sexp_conv_expander.Sexp_of.core_type ty in
     let arg = gen_symbol () in
-    pexp_fun ~loc "" None (pvar ~loc arg)
+    pexp_fun ~loc Nolabel None (pvar ~loc arg)
       (eapply ~loc sexp_converter [eapply ~loc e [evar ~loc arg]])
   | None ->
     let fail loc =
@@ -214,7 +214,7 @@
     let func = pexp_ident ~loc (Located.mk ~loc to_string_id) in
     (* Eta-expand as the to_string function might take optional arguments *)
     let arg = gen_symbol () in
-    pexp_fun ~loc "" None (pvar ~loc arg) (eapply ~loc func [evar ~loc arg])
+    pexp_fun ~loc Nolabel None (pvar ~loc arg) (eapply ~loc func [evar ~loc arg])
 
 class lifter ~loc ~custom_specs = object(self)
   inherit [expression] Ppx_format_lifter.lifter as super
@@ -296,9 +296,9 @@
     match e.pexp_desc with
     | Pexp_apply ({ pexp_desc = Pexp_ident { txt = Lident "!"; _ }
                   ; pexp_attributes = ident_attrs; _ },
-                  [ ("", { pexp_desc = Pexp_constant (Const_string (str, _))
-                         ; pexp_loc = loc
-                         ; pexp_attributes = str_attrs }) ]) ->
+                  [ (Nolabel, { pexp_desc = Pexp_constant (Pconst_string (str, _))
+                              ; pexp_loc = loc
+                              ; pexp_attributes = str_attrs }) ]) ->
       assert_no_attributes ident_attrs;
       assert_no_attributes str_attrs;
       let e' = expand_format_string ~loc str in