Skip to content

Commit

Permalink
#13 Turned on choice-else rewriting
Browse files Browse the repository at this point in the history
  • Loading branch information
arminzavada committed Oct 8, 2024
1 parent 6d15051 commit c1d67d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class CompileCommand : CliktCommand("compile") {

val transformer = XstsTransformer(reader)

val xsts = transformer.transform(targetName)
val xsts = transformer.transform(targetName, rewriteChoice = true)
val xstsString = Serializer.serialize(xsts)

val outputFile = output ?: File(model.path.replace(".oxsts", ".xsts"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class VerifyCommand : BaseVerifyCommand("verify") {

val transformer = XstsTransformer(reader)

val xsts = transformer.transform(targetName)
val xsts = transformer.transform(targetName, rewriteChoice = true)
val xstsString = Serializer.serialize(xsts)

val output = model.path.replace(".oxsts", ".xsts")
Expand Down

0 comments on commit c1d67d8

Please sign in to comment.