[ABNF] Remove some stray documentation comments.

Documentation comments were all removed from this grammar file, as readers of
this file in this branch are already familiar with Leo.
This commit is contained in:
Alessandro Coglio 2022-03-21 17:49:38 -07:00
parent 7b13ba58e4
commit e3f87ad322
2 changed files with 6 additions and 12 deletions

View File

@ -204,14 +204,14 @@ hexadecimal-digit = decimal-digit / "a" / "b" / "c" / "d" / "e" / "f"
Go to: _[decimal-digit](#user-content-decimal-digit)_; Go to: _[decimal-digit](#user-content-decimal-digit)_;
An identifier is a non-empty sequence of <a name="identifier"></a>
letters, (decimal) digits, and underscores, ```abnf
starting with a letter.
It must not be a keyword or a boolean literal,
and it must not be or start with `aleo1`;
these are extra-grammatical requirements, indicated in the comment.
identifier = letter *( letter / decimal-digit / "_" ) identifier = letter *( letter / decimal-digit / "_" )
; but not a keyword or a boolean literal or aleo1... ; but not a keyword or a boolean literal or aleo1...
```
Go to: _[letter](#user-content-letter)_;
<a name="numeral"></a> <a name="numeral"></a>
```abnf ```abnf

View File

@ -100,12 +100,6 @@ octal-digit = %x30-37 ; 0-7
hexadecimal-digit = decimal-digit / "a" / "b" / "c" / "d" / "e" / "f" hexadecimal-digit = decimal-digit / "a" / "b" / "c" / "d" / "e" / "f"
; An identifier is a non-empty sequence of
; letters, (decimal) digits, and underscores,
; starting with a letter.
; It must not be a keyword or a boolean literal,
; and it must not be or start with `aleo1`;
; these are extra-grammatical requirements, indicated in the comment.
identifier = letter *( letter / decimal-digit / "_" ) identifier = letter *( letter / decimal-digit / "_" )
; but not a keyword or a boolean literal or aleo1... ; but not a keyword or a boolean literal or aleo1...