Skip to content

handle -stop-after parsing when processing .mli files#2032

Merged
gasche merged 2 commits intoocaml:trunkfrom
gasche:stop-after-parse
Sep 8, 2018
Merged

handle -stop-after parsing when processing .mli files#2032
gasche merged 2 commits intoocaml:trunkfrom
gasche:stop-after-parse

Conversation

@gasche
Copy link
Copy Markdown
Member

@gasche gasche commented Sep 8, 2018

This is arguably a bug in the original implementation: only Compiler_common.implementation was made to support -stop-after parsing, not Compiler_common.interface.

This PR also adds a testsuite for stop-after options in testsuite/tests/tool-ocamlc-stop-after.

Copy link
Copy Markdown
Contributor

@nojb nojb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to merge if CI passes.

@gasche
Copy link
Copy Markdown
Member Author

gasche commented Sep 8, 2018

Thanks!

@gasche gasche merged commit 5ad0a86 into ocaml:trunk Sep 8, 2018
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 this pull request may close these issues.

2 participants