aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-05-20 06:15:07 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-11-22 11:33:06 +0800
commit0e0de7b7fdd83c0a458e51a4bf12b6444025c0f8 (patch)
treeb5617bfa29010e14f19303644cc7ea30eee53c7e
parentd9abe7b712a80aab26366f772cea15221184bcbf (diff)
downloaddexon-solidity-0e0de7b7fdd83c0a458e51a4bf12b6444025c0f8.tar.gz
dexon-solidity-0e0de7b7fdd83c0a458e51a4bf12b6444025c0f8.tar.zst
dexon-solidity-0e0de7b7fdd83c0a458e51a4bf12b6444025c0f8.zip
Switch cases do not require colon
-rw-r--r--docs/julia.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/julia.rst b/docs/julia.rst
index 42a3b663..f67b3384 100644
--- a/docs/julia.rst
+++ b/docs/julia.rst
@@ -88,9 +88,9 @@ Grammar::
Expression =
FunctionCall | Identifier | Literal
Switch =
- 'switch' Expression Case+ ( 'default' ':' Block )?
+ 'switch' Expression Case+ ( 'default' Block )?
Case =
- 'case' Literal ':' Block
+ 'case' Literal Block
ForLoop =
'for' Block Expression Block Block
BreakContinue =