ugh cannot get rid of rawEcho yet because old compiler relies on it

This commit is contained in:
Araq
2011-06-05 10:56:20 +02:00
parent 24ed9d560f
commit e5eb36e472

View File

@@ -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.}