Skip to content

Commit

Permalink
fixes macros.quote documentation; doubling of the escape operator nev…
Browse files Browse the repository at this point in the history
…er worked!
  • Loading branch information
Araq committed May 5, 2019
1 parent 4fd79f5 commit a60305f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/core/macros.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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:
##
Expand Down

0 comments on commit a60305f

Please sign in to comment.