aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/grammar.txt
diff options
context:
space:
mode:
authorLianaHus <liana@ethdev.com>2015-09-15 22:33:14 +0800
committerLianaHus <liana@ethdev.com>2015-09-16 19:25:32 +0800
commit279a36b6f8249df48b92574437f57742897841a5 (patch)
treeb40646e4a672ed61610c15a8e3bd28040436acae /libsolidity/grammar.txt
parent9d43f2c186d1ad4027d42f6b155bea5500efa0e5 (diff)
downloaddexon-solidity-279a36b6f8249df48b92574437f57742897841a5.tar.gz
dexon-solidity-279a36b6f8249df48b92574437f57742897841a5.tar.zst
dexon-solidity-279a36b6f8249df48b92574437f57742897841a5.zip
throw statement implementation
Diffstat (limited to 'libsolidity/grammar.txt')
-rw-r--r--libsolidity/grammar.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/grammar.txt b/libsolidity/grammar.txt
index 467aebee..08a74f45 100644
--- a/libsolidity/grammar.txt
+++ b/libsolidity/grammar.txt
@@ -34,6 +34,7 @@ ForStatement = 'for' '(' (VardefOrExprStmt)? ';' (Expression)? ';' (ExpressionSt
Continue = 'continue' ';'
Break = 'break' ';'
Return = 'return' Expression? ';'
+Throw = 'throw' Expression? ';'
VariableDefinition = VariableDeclaration ( = Expression )? ';'
Expression = Assignment | UnaryOperation | BinaryOperation | FunctionCall | NewExpression | IndexAccess |