Skip to content

Commit

Permalink
imperative: Add state match alias for Python/Rust (talonhub#1440)
Browse files Browse the repository at this point in the history
In Python and Rust, we've implemented `code_state_switch()` to insert
the `match` keyword. Give it that name too.
  • Loading branch information
auscompgeek authored May 26, 2024
1 parent 86bb196 commit 98021b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lang/tags/imperative.talon
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ state while: user.code_state_while()
state loop: user.code_state_infinite_loop()
state for: user.code_state_for()
state for in: user.code_state_for_each()
state switch: user.code_state_switch()
state (switch | match): user.code_state_switch()
state case: user.code_state_case()
state do: user.code_state_do()
state goto: user.code_state_go_to()
Expand Down

0 comments on commit 98021b1

Please sign in to comment.