diff options
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/core/macros.nim | 2 | ||||
-rwxr-xr-x | lib/pure/terminal.nim | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim index d02aba0ca..30248528e 100755 --- a/lib/core/macros.nim +++ b/lib/core/macros.nim @@ -186,7 +186,7 @@ proc newIdentNode*(i: string): PNimrodNode {.compileTime.} = result = newNimNode(nnkIdent) result.ident = !i -proc bindSym*(ident: string): PNimrodNode {.magic: "NGetBoundSym".} +proc bindSym*(ident: string): PNimrodNode {.magic: "NBindSym".} ## creates a node that binds `ident` to a symbol node. The bound symbol ## needs to be predeclared in a ``bind`` statement! diff --git a/lib/pure/terminal.nim b/lib/pure/terminal.nim index 5a82586cb..d24d81112 100755 --- a/lib/pure/terminal.nim +++ b/lib/pure/terminal.nim @@ -326,8 +326,7 @@ proc styledEchoProcessArg(color: TForegroundColor) = setForeGroundColor color proc styledEchoProcessArg(color: TBackgroundColor) = setBackGroundColor color macro styledEcho*(m: stmt): stmt = - bind styledEchoProcessArg, write, resetAttributes, stdout - + ## to be documented. result = newNimNode(nnkStmtList) for i in countup(1, m.len - 1): |