Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocamldep does not show the filename in case of a syntax error #5530

Closed
vicuna opened this issue Mar 9, 2012 · 2 comments
Closed

ocamldep does not show the filename in case of a syntax error #5530

vicuna opened this issue Mar 9, 2012 · 2 comments
Assignees

Comments

@vicuna
Copy link

vicuna commented Mar 9, 2012

Original bug ID: 5530
Reporter: @alainfrisch
Assigned to: @alainfrisch
Status: closed (set by @xavierleroy on 2013-08-31T10:48:43Z)
Resolution: fixed
Priority: normal
Severity: minor
Category: tools (ocaml{lex,yacc,dep,debug,...})

Bug description

ocamldep reports syntax errors without a filename. (This is particularly painful when one uses a build system which computes dependencies automatically, like omake or ocamlbuild.)

@vicuna
Copy link
Author

vicuna commented Mar 9, 2012

Comment author: @alainfrisch

Oops, sorry this has already been resolved on the trunk.

@vicuna
Copy link
Author

vicuna commented Mar 9, 2012

Comment author: @lefessan

Do you understand why there is a need to both set Location.input_name and call Location.init everytime ? The problem was that Location.input_name was set, but Location.init was not called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants