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

GHC calling conventions no longer seem to work #10

Open
michaelpj opened this issue Jun 4, 2019 · 1 comment · May be fixed by #11
Open

GHC calling conventions no longer seem to work #10

michaelpj opened this issue Jun 4, 2019 · 1 comment · May be fixed by #11

Comments

@michaelpj
Copy link

GHC generates command lines like this:
unlit --ghc --language=haskell --from=asciidoc -h Example.lhs Example.lhs tmpfile.hs
unlit doesn't handle the -h, and assumes that the two Example.lhs arguments are its input and output file. So it overwrites the source file instead of writing to the temp file.

@michaelpj
Copy link
Author

Possibly an off-by-one error in b594207#diff-62531d8c694a1f094db1c1aa347e8b8e.

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

Successfully merging a pull request may close this issue.

1 participant