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

Fix misleading error in man page #464

Merged
merged 1 commit into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ unreleased
transformations. All such errors are collected and appended as
extension nodes to the final AST (#447, @burnleydev1)

- Fix a small mistake in the man pages: Embededding errors is done by default with
`-as-pp`, not with `-dump-ast` (#464, @pitag-ha)

0.31.0 (2023-09-21)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion src/driver.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1348,7 +1348,7 @@ let standalone_args =
" Print the parsetree (same as ocamlc -dparsetree)" );
( "-embed-errors",
Arg.Set embed_errors,
" Embed errors in the output AST (default: true when -dump-ast, false \
" Embed errors in the output AST (default: true when -as-pp, false \
otherwise)" );
( "-null",
Arg.Unit (fun () -> set_output_mode Null),
Expand Down
Loading