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

Menhir rule doesn't work in some case #264

Closed
hackwaly opened this issue Sep 23, 2017 · 2 comments
Closed

Menhir rule doesn't work in some case #264

hackwaly opened this issue Sep 23, 2017 · 2 comments

Comments

@hackwaly
Copy link

hackwaly commented Sep 23, 2017

Seems *.mly files must at the same level of _build directory?

image

src/jbuild file:

(jbuild_version 1)

(executable
 ((name main)))

(menhir
 ((merge_into parser)
  (modules (tokens parser))))

error message:

jbuilder build src/main.exe
      menhir src/parser.{ml,mli} (exit 1)
(cd _build/default && /Users/wenyuxiang/.opam/4.05.0/bin/menhir --base parser tokens.mly parser.mly)
Error: parser.mly: No such file or directory

@rgrinberg

@hackwaly
Copy link
Author

hackwaly commented Sep 23, 2017

Sorry, I didn't see #258 yet.

ghost pushed a commit that referenced this issue Sep 29, 2017
ghost pushed a commit that referenced this issue Sep 29, 2017
@ghost
Copy link

ghost commented Sep 29, 2017

Actually it was a different bug. It's not fixed

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

No branches or pull requests

1 participant