summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlain Frisch <alain@frisch.fr>2009-10-20 06:59:25 +0000
committerAlain Frisch <alain@frisch.fr>2009-10-20 06:59:25 +0000
commita8a94b234b2afeacf06c4f43a01ef550383a84b4 (patch)
tree04cb5725fd5fcbfbbe52504e70c0927b94aed8d2
parent7d091147f44c91103073690625342d612407475d (diff)
downloadocaml-a8a94b234b2afeacf06c4f43a01ef550383a84b4.tar.gz
Remove the 'let new type t in ...' syntax, replaced by 'fun (type t) -> ...'.newtypein
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/newtypein@9381 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r--parsing/parser.mly2
1 files changed, 0 insertions, 2 deletions
diff --git a/parsing/parser.mly b/parsing/parser.mly
index 5de19d15e2..761b5a9741 100644
--- a/parsing/parser.mly
+++ b/parsing/parser.mly
@@ -825,8 +825,6 @@ expr:
{ mkexp(Pexp_let($2, List.rev $3, $5)) }
| LET MODULE UIDENT module_binding IN seq_expr
{ mkexp(Pexp_letmodule($3, $4, $6)) }
- | LET NEW TYPE LIDENT IN seq_expr
- { mkexp(Pexp_newtype($4, $6)) }
| FUNCTION opt_bar match_cases
{ mkexp(Pexp_function("", None, List.rev $3)) }
| FUN labeled_simple_pattern fun_def