summaryrefslogtreecommitdiff
path: root/toplevel/opttoploop.ml
diff options
context:
space:
mode:
Diffstat (limited to 'toplevel/opttoploop.ml')
-rw-r--r--toplevel/opttoploop.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/toplevel/opttoploop.ml b/toplevel/opttoploop.ml
index 83a1a46fa9..ff810e6f72 100644
--- a/toplevel/opttoploop.ml
+++ b/toplevel/opttoploop.ml
@@ -187,7 +187,7 @@ let parse_mod_use_file name lb =
[ Ptop_def
[ Str.module_
(Mb.mk
- (Location.mknoloc modname)
+ (Location.mknoloc (Some modname))
(Mod.structure items)
)
]