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

Implement AMBIG_MULTIPLE for llvm, Rust, go, and the vmops dump #486

Merged
merged 22 commits into from
Aug 16, 2024
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
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
12 changes: 11 additions & 1 deletion include/fsm/print.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,17 @@ struct fsm_hooks {

/*
* Print an FSM to the given file stream. The output is written in the format
* specified.
* specified by the lang enum.
*
* Not all languages support all options, and fsm_print will ENOTSUP where
* these are not possible. This is different to when an option is possible
* but simply not yet implemented, where fsm_print() will print a message
* to stderr and exit.
*
* The code generation for the typical case of matching input require the FSM
Copy link
Collaborator

Choose a reason for hiding this comment

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

Minor typo: "requires" (plural)

* to be a DFA, and will EINVAL if the FSM is not a DFA. As opposed to e.g.
* FSM_PRINT_API, which generates code for other purposes, and does not place
* particular expecations on the FSM.
*
* The output options may be NULL, indicating to use defaults.
*
Expand Down
Loading