|View Issue Details [ Jump to Notes ] ||[ Issue History ] [ Print ] |
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005216||OCaml||OCaml general||public||2011-01-31 16:47||2011-06-06 16:14|
|Assigned To|| |
|Product Version||3.12.0|| |
|Target Version||Fixed in Version|| |
|Summary||0005216: ocamldep should be aware of .mll and .mly files by default|
|Description||Imagine A.ml contains simply the line:|
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 Information||This looks related to Issue 0004992, just that I'm suggesting that .mll and .mly should be synonyms for .ml by default.|
|Tags||No tags attached.|