aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLu Guanqun <guanqun.lu@gmail.com>2016-01-11 15:39:09 +0800
committerLu Guanqun <guanqun.lu@gmail.com>2016-01-23 01:14:01 +0800
commit41039705ac1cb97e4174c735c160c3df5bc01722 (patch)
treeb02e7748d3b3149d2b845303eb1faf1d366814ad
parentbf7daf0814ac17fece679a9d1aa187a8bdcf901b (diff)
downloaddexon-solidity-41039705ac1cb97e4174c735c160c3df5bc01722.tar
dexon-solidity-41039705ac1cb97e4174c735c160c3df5bc01722.tar.gz
dexon-solidity-41039705ac1cb97e4174c735c160c3df5bc01722.tar.bz2
dexon-solidity-41039705ac1cb97e4174c735c160c3df5bc01722.tar.lz
dexon-solidity-41039705ac1cb97e4174c735c160c3df5bc01722.tar.xz
dexon-solidity-41039705ac1cb97e4174c735c160c3df5bc01722.tar.zst
dexon-solidity-41039705ac1cb97e4174c735c160c3df5bc01722.zip
[cond-expr] add one doc about conditional expression
-rw-r--r--docs/control-structures.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/control-structures.rst b/docs/control-structures.rst
index c833fbfc..4becfcf1 100644
--- a/docs/control-structures.rst
+++ b/docs/control-structures.rst
@@ -9,7 +9,7 @@ Control Structures
Most of the control structures from C/JavaScript are available in Solidity
except for `switch` and `goto`. So
-there is: `if`, `else`, `while`, `for`, `break`, `continue`, `return`, with
+there is: `if`, `else`, `while`, `for`, `break`, `continue`, `return`, `? :`, with
the usual semantics known from C / JavaScript.
Parentheses can *not* be omitted for conditionals, but curly brances can be omitted