Renamed writeln procs to writeLine

This commit is contained in:
patrick dw 2015-06-18 23:49:46 -05:00
commit 072688d06e
3 changed files with 8 additions and 5 deletions

View file

@ -208,9 +208,10 @@ proc endOfFile(f: File): bool =
ungetc(c, f)
return c < 0'i32
proc writeln[Ty](f: File, x: varargs[Ty, `$`]) =
proc writeLine[Ty](f: File, x: varargs[Ty, `$`]) =
for i in items(x): write(f, i)
write(f, "\n")
{.deprecated: [writeln:writeLine].}
proc rawEcho(x: string) {.inline, compilerproc.} = write(stdout, x)
proc rawEchoNL() {.inline, compilerproc.} = write(stdout, "\n")