| 1 | (************************************************************************) |
| 2 | (* * The Rocq Prover / The Rocq Development Team *) |
| 3 | (* v * Copyright INRIA, CNRS and contributors *) |
| 4 | (* <O___,, * (see version control and CREDITS file for authors & dates) *) |
| 5 | (* \VV/ **************************************************************) |
| 6 | (* // * This file is distributed under the terms of the *) |
| 7 | (* * GNU Lesser General Public License Version 2.1 *) |
| 8 | (* * (see LICENSE file for the text of the license) *) |
| 9 | (************************************************************************) |
| 10 | |
| 11 | type qualid = string list |
| 12 | |
| 13 | type load = Logical of string | Physical of string |
| 14 | |
| 15 | type coq_token = |
| 16 | | Require of qualid option * qualid list |
| 17 | | Declare of string list |
| 18 | | Load of load |
| 19 | | External of qualid * string |
| 20 | |
| 21 | exception Fin_fichier |
| 22 | exception Syntax_error of int * int |
| 23 | |
| 24 | val coq_action : Lexing.lexbuf -> coq_token |