mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 17:34:43 +00:00
Fix #15806
This commit is contained in:
@@ -317,7 +317,8 @@ Stropping
|
||||
---------
|
||||
|
||||
`Stropping <https://en.wikipedia.org/wiki/Stropping_(syntax)>`_
|
||||
allows the same letter sequence to be used both as a keyword and as an identifier, and simplifies parsing.
|
||||
allows the same letter sequence to be used both as a keyword and as an identifier,
|
||||
this simplifies parsing and FFI with languages where that identifier is not a reserved keyword.
|
||||
For example, allowing a variable named `if` without clashing with the keyword `if`.
|
||||
In Nim, this is achieved via backticks, allowing any reserved word to be used as an identifier.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user