diff options
| author | mohring | 2000-12-04 07:55:31 +0000 |
|---|---|---|
| committer | mohring | 2000-12-04 07:55:31 +0000 |
| commit | 408a1d674962625dfa90d45bc17f319d3e43c7ff (patch) | |
| tree | 4be664f25ed3e175e68077b8f9b8e542e40f41a8 /dev | |
| parent | 413dfbee3dba16c3d2653b61f7372349a0d3c078 (diff) | |
Ajout de constr_of_string
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1044 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'dev')
| -rw-r--r-- | dev/base_include | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dev/base_include b/dev/base_include index 9405f0b98d..b73f452064 100644 --- a/dev/base_include +++ b/dev/base_include @@ -47,6 +47,12 @@ let e s = Astterm.interp_rawconstr Evd.empty (Global.env()) (parse_ast s);; (* For compatibility *) let raw_constr_of_string = e;; +(* build a term of type constr with type-checking and resolution of + implicit syntax *) + +let constr_of_string s + = Astterm.interp_constr Evd.empty (Global.env()) (parse_ast s);; + (* Get the current goal *) let getgoal x = top_goal_of_pftreestate (Pfedit.get_pftreestate x);; |
