mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-23 18:21:38 +03:00
[ABNF] Improve a rule name.
Rename `end-of-line-comment` to the shorter `line-comment`, which is also consistent with the ABNF gramar of Aleo instructions.
This commit is contained in:
parent
491bc2271d
commit
f6b3870769
@ -59,7 +59,7 @@ not-double-quote-or-backslash-or-line-feed-or-carriage-return =
|
||||
%x0-9 / %xB-C / %xE-21 / %x23-5B / %x5D-7F / safe-nonascii
|
||||
; anything but " or \ or <LF> or <CR>
|
||||
|
||||
comment = block-comment / end-of-line-comment
|
||||
comment = block-comment / line-comment
|
||||
|
||||
block-comment = "/*" rest-of-block-comment
|
||||
|
||||
@ -74,7 +74,7 @@ rest-of-block-comment-after-star =
|
||||
/ not-star-or-slash-or-line-feed-or-carriage-return rest-of-block-comment
|
||||
/ line-terminator rest-of-block-comment
|
||||
|
||||
end-of-line-comment = "//" *not-line-feed-or-carriage-return
|
||||
line-comment = "//" *not-line-feed-or-carriage-return
|
||||
|
||||
keyword = %s"address"
|
||||
/ %s"bool"
|
||||
|
Loading…
Reference in New Issue
Block a user