File: 0001-Fix-build-with-OCaml-4.07-5.patch

package info (click to toggle)
caml2html 1.4.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 300 kB
  • sloc: ml: 1,929; makefile: 165
file content (29 lines) | stat: -rw-r--r-- 755 bytes parent folder | download | duplicates (2)
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
From: Sebastien Mondet <seb@mondet.org>
Date: Tue, 14 Aug 2018 11:52:45 -0400
Subject: Fix build with OCaml 4.07 (#5)

Origin: https://github.com/mjambon/caml2html/pull/6
---
 caml2html_test.ml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/caml2html_test.ml b/caml2html_test.ml
index ba2978d..7d2e8da 100644
--- a/caml2html_test.ml
+++ b/caml2html_test.ml
@@ -32,7 +32,7 @@ type t = [ `A | `b of int | ` C | ` (* *) D | `
 
 (*foo*)
 
-module Zro'04 =
+module Zero'04 =
 struct
   let characters = [ 'a'; '\000'; '\x12'; '
 '; '\t'; 'z' ]
@@ -63,4 +63,5 @@ let b x = a (a x)
 let _ = fun x -> b (b x)
 ;;
 
-# 123 (* line directives are not parsed, sorry... *)
+#123 "file.ml"  (* line directives are not parsed, sorry... *)
+