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

LaTeX output includes "l" when {{ aux _ l }} is used #35

Open
alastairreid opened this issue May 31, 2018 · 2 comments
Open

LaTeX output includes "l" when {{ aux _ l }} is used #35

alastairreid opened this issue May 31, 2018 · 2 comments

Comments

@alastairreid
Copy link
Contributor

To reproduce

cd ott/tests/menhir_tests/test10menhir_with_aux
make pdf
open test10menhir_with_aux_unquotiented.pdf

Every production for "term" ends with a location 'l'.

term, t, v ::=
    | at l
    | lhs rhs′ l
    | lambda l
    | {t/x}t′ l M
    | Foo term l

I think that it should not end with 'l'.

@alastairreid
Copy link
Contributor Author

Responding to my own report...
The problem is that the Makefile does not use "-generate_aux_rules false" when invoking ott.
And now that I know that I need it there, I have added it to my own project and it looks right.

(I will followup with a pull request to fix the Makefile.)

@PeterSewell
Copy link
Contributor

PeterSewell commented May 31, 2018 via email

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

2 participants