[ABNF] Fix rule for console statements.

The ending semicolon was missing.

This was found by @bendyarm, while investigating a discrepancy between the Leo
parser in Rust and the Leo parser in ACL2: the latter was correctly following
the erroneous grammar rule; it will be changed to be consistent with the fixed
rule.
This commit is contained in:
Alessandro Coglio 2021-10-19 18:01:48 -07:00
parent dcacb4b34a
commit 1aa9e4c852
2 changed files with 2 additions and 2 deletions

View File

@ -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)_;

View File

@ -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