diff options
author | Araq <rumpf_a@web.de> | 2019-05-05 12:20:17 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2019-05-05 12:20:43 +0200 |
commit | a60305fbf3897cd90680e693dd4c0db2334d85d4 (patch) | |
tree | 302c3149306acbc128c362890c7d61d4f11b8e13 /lib/core | |
parent | 4fd79f5b47eb5aa3f9fcbd841a65360845019214 (diff) | |
download | Nim-a60305fbf3897cd90680e693dd4c0db2334d85d4.tar.gz |
fixes macros.quote documentation; doubling of the escape operator never worked!
Diffstat (limited to 'lib/core')
-rw-r--r-- | lib/core/macros.nim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim index 6a4c094d0..847e17c56 100644 --- a/lib/core/macros.nim +++ b/lib/core/macros.nim @@ -561,9 +561,7 @@ proc quote*(bl: typed, op = "``"): NimNode {.magic: "QuoteAst", noSideEffect.} ## Within the quoted AST, you are able to interpolate NimNode expressions ## from the surrounding scope. If no operator is given, quoting is done using ## backticks. Otherwise, the given operator must be used as a prefix operator - ## for any interpolated expression. The original meaning of the interpolation - ## operator may be obtained by escaping it (by prefixing it with itself): - ## e.g. `@` is escaped as `@@`, `@@` is escaped as `@@@` and so on. + ## for any interpolated expression. ## ## Example: ## |