Skip to content

Commit c328a6a

Browse files
author
Everett Hildenbrandt
committed
evm: make #setMode an InternalOp so its handled by exceptions
1 parent b4f798e commit c328a6a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

evm.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,9 @@ Our semantics is modal, with the initial mode being set on the command line via
170170
- `#setMode_` sets the mode to the supplied one.
171171

172172
```k
173-
syntax Mode ::= "#setMode" Mode
174-
// -------------------------------
173+
syntax InternalOp ::= "#setMode" Mode
174+
// -------------------------------------
175175
rule <k> #setMode EXECMODE => . ... </k> <mode> _ => EXECMODE </mode>
176-
rule <k> EX:Exception ~> (#setMode _ => .) ... </k>
177176
```
178177

179178
State Stacks

0 commit comments

Comments
 (0)