Skip to content

Commit

Permalink
fix parsing of <= operator
Browse files Browse the repository at this point in the history
Signed-off-by: Corentin Leruth <corentin.leruth@gmail.com>
  • Loading branch information
tatchi committed Jan 27, 2023
1 parent e0560ae commit 221b653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dune_rules/blang.ml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ let rec to_dyn =
[ Op.to_dyn o; String_with_vars.to_dyn s1; String_with_vars.to_dyn s2 ]

let ops =
[ ("=", Op.Eq); (">=", Gte); ("<=", Lt); (">", Gt); ("<", Lt); ("<>", Neq) ]
[ ("=", Op.Eq); (">=", Gte); ("<=", Lte); (">", Gt); ("<", Lt); ("<>", Neq) ]

let decode_gen decode_string =
let open Dune_lang.Decoder in
Expand Down

0 comments on commit 221b653

Please sign in to comment.