From e5eb36e4722dd333dd48cfcf5c54fb6549fe4a46 Mon Sep 17 00:00:00 2001 From: Araq Date: Sun, 5 Jun 2011 10:56:20 +0200 Subject: ugh cannot get rid of rawEcho yet because old compiler relies on it --- lib/system/sysio.nim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/system/sysio.nim b/lib/system/sysio.nim index a6d351799..80d9b1495 100755 --- a/lib/system/sysio.nim +++ b/lib/system/sysio.nim @@ -107,6 +107,9 @@ proc writeln[Ty](f: TFile, x: openArray[Ty]) = for i in items(x): write(f, i) write(f, "\n") +proc rawEcho(x: string) {.inline, compilerproc.} = write(stdout, x) +proc rawEchoNL() {.inline, compilerproc.} = write(stdout, "\n") + # interface to the C procs: proc fopen(filename, mode: CString): pointer {.importc: "fopen", noDecl.} -- cgit 1.4.1-2-gfad0