diff options
author | 2003-09-09 15:06:44 +0000 | |
---|---|---|
committer | 2003-09-09 15:06:44 +0000 | |
commit | a580a7a07da8651887c6fb386bd9af55bbe673a2 (patch) | |
tree | 4233682720571f3fa09fba77bb31e446dc6203e1 /parsing/egrammar.ml | |
parent | 51cd60453da3f1fe136904404046098d9c4f1cc3 (diff) |
Ajout construction If primitive dans constr_expr et rawconstr
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@4336 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'parsing/egrammar.ml')
-rw-r--r-- | parsing/egrammar.ml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/parsing/egrammar.ml b/parsing/egrammar.ml index 60848fdfd..88c821167 100644 --- a/parsing/egrammar.ml +++ b/parsing/egrammar.ml @@ -295,6 +295,9 @@ let subst_constr_expr a loc subs = let na = name_app (subst_id subs) na in let nal = List.map (name_app (subst_id subs)) nal in CLetTuple (loc,nal,(na,option_app subst po),subst a,subst b) + | CIf (_,c,(na,po),b1,b2) -> + let na = name_app (subst_id subs) na in + CIf (loc,subst c,(na,option_app subst po),subst b1,subst b2) | CFix (_,id,dl) -> CFix (loc,id,List.map (fun (id,n,t,d) -> (id,n,subst t,subst d)) dl) | CCoFix (_,id,dl) -> |