Skip to content

Commit

Permalink
blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
dwightguth committed Aug 26, 2024
1 parent decce7d commit c7b643e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/statement.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,13 @@ module SOLIDITY-STATEMENT
rule if ( v(false, bool ) ) _ => .K
rule if ( v(true, bool ) ) S else _ => S
rule if ( v(false, bool ) ) _ else S => S
// blocks
rule <k> { S } => S ~> restoreEnv(E) ...</k>
<env> E </env>
syntax KItem ::= restoreEnv(Map)
rule <k> restoreEnv(E) => .K ...</k>
<env> _ => E </env>
endmodule

0 comments on commit c7b643e

Please sign in to comment.