summaryrefslogtreecommitdiff
path: root/parsing/parsetree.mli
diff options
context:
space:
mode:
authorAlain Frisch <alain@frisch.fr>2014-05-04 20:42:34 +0000
committerAlain Frisch <alain@frisch.fr>2014-05-04 20:42:34 +0000
commit0f1bb864df2b92d2ffc87d62a539d6cd2f1ab403 (patch)
tree58723a978cd4498c7699008fcabaffaedfd69871 /parsing/parsetree.mli
parentefc23798ead848da3a2bf41b243094f959740163 (diff)
downloadocaml-0f1bb864df2b92d2ffc87d62a539d6cd2f1ab403.tar.gz
Add support for floating attributes in class structures and class signatures. (Patch by Leo White.)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14736 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'parsing/parsetree.mli')
-rw-r--r--parsing/parsetree.mli4
1 files changed, 4 insertions, 0 deletions
diff --git a/parsing/parsetree.mli b/parsing/parsetree.mli
index 9ecd496c83..fd942131bc 100644
--- a/parsing/parsetree.mli
+++ b/parsing/parsetree.mli
@@ -450,6 +450,8 @@ and class_type_field_desc =
*)
| Pctf_constraint of (core_type * core_type)
(* constraint T1 = T2 *)
+ | Pctf_attribute of attribute
+ (* [@@@id] *)
| Pctf_extension of extension
(* [%%id] *)
@@ -543,6 +545,8 @@ and class_field_desc =
(* constraint T1 = T2 *)
| Pcf_initializer of expression
(* initializer E *)
+ | Pcf_attribute of attribute
+ (* [@@@id] *)
| Pcf_extension of extension
(* [%%id] *)