mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-19 07:32:26 +03:00
Merge pull request #1407 from AleoHQ/abnf-console
[ABNF] Fix rule for console statements.
This commit is contained in:
commit
62db82cf37
@ -1613,7 +1613,7 @@ There are three kinds of print commands.
|
||||
|
||||
<a name="console-statement"></a>
|
||||
```abnf
|
||||
console-statement = %s"console" "." console-call
|
||||
console-statement = %s"console" "." console-call ";"
|
||||
```
|
||||
|
||||
Go to: _[console-call](#user-content-console-call)_;
|
||||
|
@ -972,7 +972,7 @@ assignment-statement = expression assignment-operator expression ";"
|
||||
; Note that the console function names are identifiers, not keywords.
|
||||
; There are three kinds of print commands.
|
||||
|
||||
console-statement = %s"console" "." console-call
|
||||
console-statement = %s"console" "." console-call ";"
|
||||
|
||||
console-call = assert-call
|
||||
/ print-call
|
||||
|
Loading…
Reference in New Issue
Block a user