mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 11:12:48 +03:00
[ABNF] Move two rules and add some comments.
This does not change the grammar, just its presentation in the file.
This commit is contained in:
parent
aa864e97cc
commit
e08d1f7f36
@ -338,7 +338,14 @@ not-star = %x0-29 / %x2B-10FFFF ; anything but *
|
||||
not-line-feed-or-carriage-return = %x0-9 / %xB-C / %xE-10FFFF
|
||||
; anything but LF or CR
|
||||
|
||||
not-star-or-slash = %x0-29 / %x2B-2E / %x30-10FFFF ; anything but * or /
|
||||
not-double-quote-or-open-brace = %x0-22 / %x24-7A / %x7C-10FFFF
|
||||
; anything but " or {
|
||||
|
||||
not-double-quote-or-close-brace = %x0-22 / %x24-7C / %x7E-10FFFF
|
||||
; anything but " or }
|
||||
|
||||
not-star-or-slash = %x0-29 / %x2B-2E / %x30-10FFFF
|
||||
; anything but * or /
|
||||
|
||||
; Lines in Leo may be terminated via
|
||||
; a single carriage return,
|
||||
@ -447,10 +454,6 @@ package-name = 1*( lowercase-letter / digit )
|
||||
|
||||
format-string-container = "{}"
|
||||
|
||||
not-double-quote-or-open-brace = %x0-22 / %x24-7A / %x7C-10FFFF
|
||||
|
||||
not-double-quote-or-close-brace = %x0-22 / %x24-7C / %x7E-10FFFF
|
||||
|
||||
format-string-element = not-double-quote-or-open-brace
|
||||
/ "{" not-double-quote-or-close-brace
|
||||
/ format-string-container
|
||||
|
Loading…
Reference in New Issue
Block a user