Skip to content

Commit 25c0dbd

Browse files
committed
Merge pull request #89 from mjustus/master
Support for OCaml 4.08
2 parents e4f029b + 1971ebc commit 25c0dbd

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

CHANGES

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2.2
2+
* Support for OCaml 4.08
3+
14
2.1
25
* GPR#78: Auto-generate unicode data
36

sedlex.opam

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Unicode. Unlike ocamllex, sedlex allows lexer specifications within regular
77
OCaml source files. Lexing specific constructs are provided via a ppx syntax
88
extension.
99
"
10-
version: "2.1"
10+
version: "2.2"
1111
license: "MIT"
1212
doc: "https://ocaml-community.github.io/sedlex/index.html"
1313
maintainer: "Alain Frisch <[email protected]>"
@@ -26,7 +26,7 @@ build: [
2626
depends: [
2727
"ocaml" {>= "4.02.3"}
2828
"dune" {>= "1.8"}
29-
"ppx_tools_versioned"
29+
"ppx_tools_versioned" {>= "5.2.3"}
3030
"ocaml-migrate-parsetree"
3131
"gen"
3232
"uchar"

src/syntax/dune

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
(name sedlex_ppx)
33
(public_name sedlex.ppx)
44
(kind ppx_rewriter)
5-
(libraries ppx_tools_versioned.metaquot_405 ocaml-migrate-parsetree sedlex)
5+
(libraries ppx_tools_versioned.metaquot_408 ocaml-migrate-parsetree sedlex)
66
(ppx_runtime_libraries sedlex)
77
(preprocess
8-
(pps ppx_tools_versioned.metaquot_405))
8+
(pps ppx_tools_versioned.metaquot_408))
99
(flags (:standard -w -9)))
1010

1111
(rule

src/syntax/ppx_sedlex.ml

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
open Longident
66
open Migrate_parsetree
7-
open Ast_405
7+
open Ast_408
88
open Parsetree
99
open Asttypes
1010
open Ast_helper
11-
open Ast_convenience_405
11+
open Ast_convenience_408
1212

13-
module Ast_mapper_class = Ast_mapper_class_405
13+
module Ast_mapper_class = Ast_mapper_class_408
1414

15-
let ocaml_version = Versions.ocaml_405
15+
let ocaml_version = Versions.ocaml_408
1616

1717
module Cset = Sedlex_cset
1818

0 commit comments

Comments
 (0)