From 779f8d093659e8dbe851c8edea678a65f41b0143 Mon Sep 17 00:00:00 2001 From: Leo White Date: Fri, 5 Jun 2015 17:31:12 +0000 Subject: [PATCH] Attach comments to includes in structures git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.02@16160 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- parsing/parser.mly | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/parsing/parser.mly b/parsing/parser.mly index 838d436eb8..863651c71b 100644 --- a/parsing/parser.mly +++ b/parsing/parser.mly @@ -780,7 +780,8 @@ structure_item: ; str_include_statement: INCLUDE module_expr post_item_attributes - { Incl.mk $2 ~attrs:$3 ~loc:(symbol_rloc()) } + { Incl.mk $2 ~attrs:$3 + ~loc:(symbol_rloc()) ~docs:(symbol_docs ()) } ; module_binding_body: EQUAL module_expr