Update latest syntax to 1.1

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
This commit is contained in:
Rudi Grinberg 2018-07-21 20:39:13 +02:00
parent 4aad02de6f
commit 845d3a4713
2 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@ end
let syntax = let syntax =
Syntax.create ~name:"dune" ~desc:"the dune language" Syntax.create ~name:"dune" ~desc:"the dune language"
[ (0, 0) (* Jbuild syntax *) [ (0, 0) (* Jbuild syntax *)
; (1, 0) ; (1, 1)
] ]
module File_kind = struct module File_kind = struct

View File

@ -4,9 +4,9 @@
$ mkdir src $ mkdir src
$ echo '(alias (name runtest) (action (progn)))' > src/dune $ echo '(alias (name runtest) (action (progn)))' > src/dune
$ dune build $ dune build
Info: creating file dune-project with this contents: (lang dune 1.0) Info: creating file dune-project with this contents: (lang dune 1.1)
$ cat dune-project $ cat dune-project
(lang dune 1.0) (lang dune 1.1)
Test that using menhir automatically update the dune-project file Test that using menhir automatically update the dune-project file
@ -14,5 +14,5 @@ Test that using menhir automatically update the dune-project file
$ dune build $ dune build
Info: appending this line to dune-project: (using menhir 1.0) Info: appending this line to dune-project: (using menhir 1.0)
$ cat dune-project $ cat dune-project
(lang dune 1.0) (lang dune 1.1)
(using menhir 1.0) (using menhir 1.0)