Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
marcpouzet committed Nov 1, 2024
1 parent e926d20 commit 8e2beb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/compiler/main/zeluc.ml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ and doc_set_steps = "\t Option to control source-to-source rewriting steps\n\
\t\t lastinpatterns: add copies for lasts that are inputs or outputs \n\
\t\t auto: remove automata statements \n\
\t\t present: remove present statements \n\
\t\t exp2eq: remove pattern matching and resets on expressions \n\
\t\t pre: remove pre/fby \n\
\t\t reset: normalise resets; remove initialization (->) \n\
\t\t complete: complete branches \n\
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/rewrite/rewrite.ml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ let set_steps w =
| "lastinpatterns" | "copylast"
| "auto" | "present"
| "pre" | "reset" | "complete" | "shared" | "encore" | "letin"
| "schedule" | "aform" | "deadcode" | "copy" ->
| "schedule" | "aform" | "deadcode" | "copy" | "exp2seq" ->
s_set := if p then S.add s !s_set else S.remove s !s_set
| "" -> ()
| _ -> raise (Arg.Bad ("unknown pass " ^ s)) in
Expand Down

0 comments on commit 8e2beb1

Please sign in to comment.