summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-02-24 19:20:18 +0100
committerAraq <rumpf_a@web.de>2012-02-24 19:20:18 +0100
commit8273ebcc289ab079b1e35ea6cac803c6f40efb27 (patch)
treed91a6d1a8e5405e676cfc55333121d777680ce4f
parentf0172b0a5fdb618265eb20fb03dd720e970f95a7 (diff)
downloadNim-8273ebcc289ab079b1e35ea6cac803c6f40efb27.tar.gz
examples/tclex compiles again
-rwxr-xr-xexamples/tclex.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tclex.nim b/examples/tclex.nim
index 83e4bed00..daf2d52e2 100755
--- a/examples/tclex.nim
+++ b/examples/tclex.nim
@@ -19,7 +19,7 @@ var interp = CreateInterp()
 if interp == nil: quit("cannot create TCL interpreter")
 if Init(interp) != TCL_OK: 
   quit("cannot init interpreter")
-if Eval(interp, myScript) != TCL_OK: 
+if tcl.Eval(interp, myScript) != TCL_OK: 
   quit("cannot execute script.tcl")