fixes macros.quote documentation; doubling of the escape operator never worked!

This commit is contained in:
Araq
2019-05-05 12:20:17 +02:00
parent 4fd79f5b47
commit a60305fbf3

View File

@@ -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:
##