aboutsummaryrefslogtreecommitdiffstats
path: root/docs/yul.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/yul.rst')
-rw-r--r--docs/yul.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/yul.rst b/docs/yul.rst
index 87fd95eb..e010a708 100644
--- a/docs/yul.rst
+++ b/docs/yul.rst
@@ -99,9 +99,11 @@ Grammar::
If =
'if' Expression Block
Switch =
- 'switch' Expression Case* ( 'default' Block )?
+ 'switch' Expression ( Case+ Default? | Default )
Case =
'case' Literal Block
+ Default =
+ 'default' Block
ForLoop =
'for' Block Expression Block Block
BreakContinue =