Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005216OCamltools (ocaml{lex,yacc,dep,debug,...})public2011-01-31 16:472016-12-07 17:01
Assigned To 
PlatformOSOS Version
Product Version3.12.0 
Target VersionFixed in Version 
Summary0005216: ocamldep should be aware of .mll and .mly files by default
DescriptionImagine 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 (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 (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
2016-12-07 17:01 shinwell Category OCaml general => OCaml tools (ocaml{lex,yacc,dep,debug})
2017-02-23 16:45 doligez Category OCaml tools (ocaml{lex,yacc,dep,debug}) => tools (ocaml{lex,yacc,dep,debug,...})

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker