Skip to content

Commit 779f8d0

Browse files
committed
Attach comments to includes in structures
git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.02@16160 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1 parent 0581a07 commit 779f8d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

parsing/parser.mly

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,8 @@ structure_item:
780780
;
781781
str_include_statement:
782782
INCLUDE module_expr post_item_attributes
783-
{ Incl.mk $2 ~attrs:$3 ~loc:(symbol_rloc()) }
783+
{ Incl.mk $2 ~attrs:$3
784+
~loc:(symbol_rloc()) ~docs:(symbol_docs ()) }
784785
;
785786
module_binding_body:
786787
EQUAL module_expr

0 commit comments

Comments
 (0)