Add rec_flag to type items in the parsetree and typedtree

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15918 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Jérémie Dimino 2015-03-13 11:07:29 +00:00
parent 73756628c0
commit 51ba396328
3 changed files with 6 additions and 6 deletions

View File

@ -649,7 +649,7 @@ and signature_item_desc =
val x: T
external x: T = "s1" ... "sn"
*)
| Psig_type of type_declaration list
| Psig_type of rec_flag * type_declaration list
(* type t1 = ... and ... and tn = ... *)
| Psig_typext of type_extension
(* type t1 += ... *)
@ -776,7 +776,7 @@ and structure_item_desc =
| Pstr_primitive of value_description
(* val x: T
external x: T = "s1" ... "sn" *)
| Pstr_type of type_declaration list
| Pstr_type of rec_flag * type_declaration list
(* type t1 = ... and ... and tn = ... *)
| Pstr_typext of type_extension
(* type t1 += ... *)

View File

@ -210,7 +210,7 @@ and structure_item_desc =
Tstr_eval of expression * attributes
| Tstr_value of rec_flag * value_binding list
| Tstr_primitive of value_description
| Tstr_type of type_declaration list
| Tstr_type of rec_flag * type_declaration list
| Tstr_typext of type_extension
| Tstr_exception of extension_constructor
| Tstr_module of module_binding
@ -284,7 +284,7 @@ and signature_item =
and signature_item_desc =
Tsig_value of value_description
| Tsig_type of type_declaration list
| Tsig_type of rec_flag * type_declaration list
| Tsig_typext of type_extension
| Tsig_exception of extension_constructor
| Tsig_module of module_declaration

View File

@ -209,7 +209,7 @@ and structure_item_desc =
Tstr_eval of expression * attributes
| Tstr_value of rec_flag * value_binding list
| Tstr_primitive of value_description
| Tstr_type of type_declaration list
| Tstr_type of rec_flag * type_declaration list
| Tstr_typext of type_extension
| Tstr_exception of extension_constructor
| Tstr_module of module_binding
@ -282,7 +282,7 @@ and signature_item =
and signature_item_desc =
Tsig_value of value_description
| Tsig_type of type_declaration list
| Tsig_type of rec_flag * type_declaration list
| Tsig_typext of type_extension
| Tsig_exception of extension_constructor
| Tsig_module of module_declaration