You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 7793 Reporter:@hhugo Assigned to:@nojb Status: closed (set by @nojb on 2018-05-23T23:10:02Z) Resolution: fixed Priority: normal Severity: minor Category: tools (ocaml{lex,yacc,dep,debug,...}) Monitored by:@nojb
Bug description
The following program is accepted by the ocaml compiler but not by ocamldep
At first sight it seems the difference is that ocamldep parses .ml files using Parse.use_file and the compiler uses Parse.implementation. For .mli files both use Parse.interface.
Anyone remembers the reason for the different handling of .ml files?
Activity
vicuna commentedon May 6, 2018
Comment author: @hhugo
ocaml-ppx/ocamlformat#181 (comment)
vicuna commentedon May 6, 2018
Comment author: @nojb
At first sight it seems the difference is that ocamldep parses .ml files using Parse.use_file and the compiler uses Parse.implementation. For .mli files both use Parse.interface.
Anyone remembers the reason for the different handling of .ml files?
vicuna commentedon May 6, 2018
Comment author: @nojb
#1766
vicuna commentedon May 7, 2018
Comment author: @hhugo
commit 89077f5
Author: Damien Doligez <damien.doligez-inria.fr>
Date: Fri Aug 10 07:19:12 2012 +0000
vicuna commentedon May 23, 2018
Comment author: @hhugo
GPR merged. This can be closed