summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/core/macros.nim2
-rwxr-xr-xlib/pure/terminal.nim3
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):