diff options
Diffstat (limited to 'interp/syntax_def.mli')
| -rw-r--r-- | interp/syntax_def.mli | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/interp/syntax_def.mli b/interp/syntax_def.mli index 96361ab3fe..50f2f3e7d7 100644 --- a/interp/syntax_def.mli +++ b/interp/syntax_def.mli @@ -23,3 +23,10 @@ val declare_syntactic_definition : bool -> identifier -> bool -> aconstr val search_syntactic_definition : loc -> kernel_name -> rawconstr +(* [locate_global] locates global reference possibly following a chain of + syntactic aliases; raise Not_found if not bound in the global env; + raise an error if bound to a syntactic def that does not denote a + reference *) + +val locate_global : Libnames.qualid -> Libnames.global_reference + |
