summary refs log tree commit diff stats
path: root/lib/core
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-05-05 12:20:17 +0200
committerAraq <rumpf_a@web.de>2019-05-05 12:20:43 +0200
commita60305fbf3897cd90680e693dd4c0db2334d85d4 (patch)
tree302c3149306acbc128c362890c7d61d4f11b8e13 /lib/core
parent4fd79f5b47eb5aa3f9fcbd841a65360845019214 (diff)
downloadNim-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.nim4
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:
   ##