From 1fac85b953b4a522e6b03fafa97c25a61e1c62ea Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Fri, 8 May 2020 16:17:37 -0400 Subject: allow use of global constant before declaring it, get rid of weird Location comparison --- std/io.toc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'std') diff --git a/std/io.toc b/std/io.toc index 4f05be5..4eaf113 100644 --- a/std/io.toc +++ b/std/io.toc @@ -13,7 +13,6 @@ unfortunately, we can't use fwrite because MSVC doesn't like it when you use a file handle that's not from the DLL. (i.e. you can't pass your stdout to the imported version of fwrite) */ -/* writes ::= fn(x: []char) { for c := x { toc_putchar(c); @@ -51,9 +50,7 @@ puti ::= fn(x: int) { writei(x); toc_putchar('\n'); } -*/ -/* writef ::= fn(x: float) { fmt := "%f\0"; printf(&fmt[0], x); @@ -62,4 +59,3 @@ putf ::= fn(x: float) { writef(x); toc_putchar('\n'); } -*/ -- cgit v1.2.3