summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Mauny <Michel.Mauny@ensta.fr>2004-05-12 18:49:57 +0000
committerMichel Mauny <Michel.Mauny@ensta.fr>2004-05-12 18:49:57 +0000
commitc1312360cedc1ee96493e513ddfb4cb8c78ee58e (patch)
tree0a4212189017300a4a0376e46cb9962629538764
parentf4d70e5a6c8141edf90eaa99a6199b87f2468061 (diff)
Fixed PR#1990
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6292 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r--camlp4/etc/pr_o.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/camlp4/etc/pr_o.ml b/camlp4/etc/pr_o.ml
index 0bc51c4df..c1ac23f67 100644
--- a/camlp4/etc/pr_o.ml
+++ b/camlp4/etc/pr_o.ml
@@ -1034,7 +1034,7 @@ pr_expr.pr_levels :=
match eel_e with
[ ([], <:expr< () >>) ->
[: `BEbox [: `S LR "if"; `expr e1 "" [: :]; `S LR "then" :];
- `expr1 e2 dg k :]
+ `expr1 e2 dg k; `S LR "else"; `S LR "()" :]
| (eel, <:expr< () >>) ->
let (eel, (e1f, e2f)) =
let r = List.rev eel in