diff options
Diffstat (limited to 'interp/syntax_def.mli')
-rw-r--r-- | interp/syntax_def.mli | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/interp/syntax_def.mli b/interp/syntax_def.mli index 0aec03c2..ac7318b5 100644 --- a/interp/syntax_def.mli +++ b/interp/syntax_def.mli @@ -6,7 +6,7 @@ (* * GNU Lesser General Public License Version 2.1 *) (************************************************************************) -(*i $Id: syntax_def.mli,v 1.3.2.2 2004/07/16 19:30:23 herbelin Exp $ i*) +(*i $Id: syntax_def.mli 7051 2005-05-20 15:45:51Z herbelin $ i*) (*i*) open Util @@ -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 + |