mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-20 08:01:42 +03:00
Merge pull request #1713 from AleoHQ/abnf-expression-statements
[ABNF] Remove expression statements.
This commit is contained in:
commit
a1c0932f3e
@ -637,8 +637,7 @@ Go to: _[conditional-expression](#user-content-conditional-expression)_;
|
|||||||
|
|
||||||
<a name="statement"></a>
|
<a name="statement"></a>
|
||||||
```abnf
|
```abnf
|
||||||
statement = expression-statement
|
statement = return-statement
|
||||||
/ return-statement
|
|
||||||
/ variable-declaration
|
/ variable-declaration
|
||||||
/ constant-declaration
|
/ constant-declaration
|
||||||
/ conditional-statement
|
/ conditional-statement
|
||||||
@ -648,7 +647,7 @@ statement = expression-statement
|
|||||||
/ block
|
/ block
|
||||||
```
|
```
|
||||||
|
|
||||||
Go to: _[assignment-statement](#user-content-assignment-statement), [block](#user-content-block), [conditional-statement](#user-content-conditional-statement), [console-statement](#user-content-console-statement), [constant-declaration](#user-content-constant-declaration), [expression-statement](#user-content-expression-statement), [loop-statement](#user-content-loop-statement), [return-statement](#user-content-return-statement), [variable-declaration](#user-content-variable-declaration)_;
|
Go to: _[assignment-statement](#user-content-assignment-statement), [block](#user-content-block), [conditional-statement](#user-content-conditional-statement), [console-statement](#user-content-console-statement), [constant-declaration](#user-content-constant-declaration), [loop-statement](#user-content-loop-statement), [return-statement](#user-content-return-statement), [variable-declaration](#user-content-variable-declaration)_;
|
||||||
|
|
||||||
|
|
||||||
<a name="block"></a>
|
<a name="block"></a>
|
||||||
|
@ -263,8 +263,7 @@ conditional-expression = disjunctive-expression
|
|||||||
|
|
||||||
expression = conditional-expression
|
expression = conditional-expression
|
||||||
|
|
||||||
statement = expression-statement
|
statement = return-statement
|
||||||
/ return-statement
|
|
||||||
/ variable-declaration
|
/ variable-declaration
|
||||||
/ constant-declaration
|
/ constant-declaration
|
||||||
/ conditional-statement
|
/ conditional-statement
|
||||||
|
Loading…
Reference in New Issue
Block a user