mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-29 01:51:43 +00:00
manual: fix rendering of Identifiers & Keywords [skip ci] (#17811)
This commit is contained in:
@@ -261,8 +261,9 @@ and underscores, with the following restrictions:
|
||||
|
||||
* begins with a letter
|
||||
* does not end with an underscore `_`
|
||||
* two immediate following underscores `__` are not allowed::
|
||||
* two immediate following underscores `__` are not allowed:
|
||||
|
||||
.. code-block::
|
||||
letter ::= 'A'..'Z' | 'a'..'z' | '\x80'..'\xff'
|
||||
digit ::= '0'..'9'
|
||||
IDENTIFIER ::= letter ( ['_'] (letter | digit) )*
|
||||
|
||||
Reference in New Issue
Block a user