Skip to content

Commit

Permalink
new internal operator for '~' semantic versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Keryan-dev committed Feb 5, 2021
1 parent c46f85c commit 412bb6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/opamLexer.mll
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ let relop = function
| ">" -> `Gt
| "<=" -> `Leq
| "<" -> `Lt
| "~" -> `Geq
| "~" -> `Sem
| x -> error "%S is not a valid comparison operator" x

let logop = function
Expand Down
1 change: 1 addition & 0 deletions src/opamParserTypes.ml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ type relop = [ `Eq (** [=] *)
| `Gt (** [>] *)
| `Leq (** [<=] *)
| `Lt (** [<] *)
| `Sem (** [~] *)
]

(** Logical operators *)
Expand Down

0 comments on commit 412bb6a

Please sign in to comment.