Skip to content

Commit

Permalink
Bumping version numbers and fixing 0.5.0 build
Browse files Browse the repository at this point in the history
  • Loading branch information
denismerigoux committed Nov 7, 2021
1 parent 485d093 commit 22cd03c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions catala.opam
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ homepage: "https://github.com/CatalaLang/catala"
bug-reports: "https://github.com/CatalaLang/catala/issues"
depends: [
"dune" {>= "2.8"}
"ocaml" {>= "4.08.0"}
"ocaml" {>= "4.11.0"}
"ANSITerminal" {>= "0.8.2"}
"sedlex" {>= "2.1"}
"sedlex" {>= "2.4"}
"menhir" {>= "20200211"}
"menhirLib" {>= "20200211"}
"unionFind" {>= "20200320"}
Expand Down
2 changes: 1 addition & 1 deletion compiler/surface/parser_driver.ml
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ let rec parse_source_file (source_file : Pos.input_file) (language : Cli.backend
let input = open_in source_file in
(Sedlexing.Utf8.from_channel input, Some input)
with Sys_error msg -> Errors.raise_error msg)
| Contents contents -> (Sedlexing.Utf8.from_gen (Gen.of_string contents), None)
| Contents contents -> (Sedlexing.Utf8.from_string contents, None)
in
let source_file_name = match source_file with FileName s -> s | Contents _ -> "stdin" in
Sedlexing.set_filename lexbuf source_file_name;
Expand Down
6 changes: 3 additions & 3 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
"Catala is a domain-specific language for deriving faithful-by-construction\nalgorithms from legislative texts. See https://catala-lang.org for more information\n")
(depends
(ocaml
(>= 4.08.0))
(>= 4.11.0))
(ANSITerminal
(>= 0.8.2))
(sedlex
(>= 2.1))
(>= 2.4))
(menhir
(>= 20200211))
(menhirLib
Expand Down Expand Up @@ -73,7 +73,7 @@
"This library contains the implementations of algorithmic portions of French law. The library source code was generated from Catala annotations of the relevant portions of the French law, see https://catala-lang.org")
(depends
(ocaml
(>= 4.08.0))
(>= 4.11.0))
(catala
(>= 0.5.0))))

Expand Down
2 changes: 1 addition & 1 deletion french_law.opam
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ homepage: "https://github.com/CatalaLang/catala"
bug-reports: "https://github.com/CatalaLang/catala/issues"
depends: [
"dune" {>= "2.8"}
"ocaml" {>= "4.08.0"}
"ocaml" {>= "4.11.0"}
"catala" {>= "0.5.0"}
"odoc" {with-doc}
]
Expand Down

0 comments on commit 22cd03c

Please sign in to comment.