Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005216OCamlOCaml generalpublic2011-01-31 16:472011-06-06 16:14
Reporterdra 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSOS Version
Product Version3.12.0 
Target VersionFixed in Version 
Summary0005216: ocamldep should be aware of .mll and .mly files by default
DescriptionImagine A.ml contains simply the line:

B.foo ();;

When determining dependencies for A.cmx, ocamldep will look to see if it can find B.mli (in which case it will add B.cmi to the dependencies) or B.ml (in which case it will add B.cmx).

It doesn't however recognise B.mll or B.mly as containing the module B.

Given that ocamllex and ocamlyacc are *official* tools in the OCaml system, shouldn't ocamldep take their input files into account too? i.e. if I have A.ml (as above) and B.mll or B.mly in the same directory then ocamldep should include B.cmx in the dependencies for A.cmx.
Additional InformationThis looks related to Issue 0004992, just that I'm suggesting that .mll and .mly should be synonyms for .ml by default.
TagsNo tags attached.
Attached Files

- Relationships
related to 0003725acknowledged Ocamldep should search for .mly & .mll files 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-01-31 16:47 dra New Issue
2011-05-17 16:38 doligez Status new => acknowledged
2011-06-06 16:14 xclerc Relationship added related to 0003725


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker