-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #795 from gares/quickfix
adapt to coq/coq#19147
- Loading branch information
Showing
4 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
(************************************************************************) | ||
(* * The Coq Proof Assistant / The Coq Development Team *) | ||
(* v * Copyright INRIA, CNRS and contributors *) | ||
(* <O___,, * (see version control and CREDITS file for authors & dates) *) | ||
(* VV/ **************************************************************) | ||
(* // * This file is distributed under the terms of the *) | ||
(* * GNU Lesser General Public License Version 2.1 *) | ||
(* * (see LICENSE file for the text of the license) *) | ||
(************************************************************************) | ||
|
||
(************************************************************************) | ||
(* SerAPI: Coq interaction protocol with bidirectional serialization *) | ||
(************************************************************************) | ||
(* Copyright 2016-2019 MINES ParisTech -- License LGPL 2.1+ *) | ||
(* Copyright 2019-2023 Inria -- License LGPL 2.1+ *) | ||
(* Written by: Emilio J. Gallego Arias and others *) | ||
(************************************************************************) | ||
|
||
module Loc = Ser_loc | ||
module Pp = Ser_pp | ||
|
||
module QFB = struct | ||
|
||
type t = Quickfix.t | ||
type _t = Loc.t * Pp.t | ||
[@@deriving sexp,yojson,hash,compare] | ||
|
||
let of_t qf = Quickfix.(loc qf, pp qf) | ||
let to_t (loc, pp) = Quickfix.make ~loc pp | ||
end | ||
|
||
include SerType.Biject(QFB) |
Submodule coq
updated
96 files