diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-05-08 16:17:37 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-05-08 16:17:37 -0400 |
commit | 1fac85b953b4a522e6b03fafa97c25a61e1c62ea (patch) | |
tree | 4ef588205feedac82b16dc05e7a72f058c087ebe /std | |
parent | 5dabbe87ed4e86fa0306fd9ef11e7a7fee2a6ddb (diff) |
allow use of global constant before declaring it, get rid of weird Location comparison
Diffstat (limited to 'std')
-rw-r--r-- | std/io.toc | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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'); } -*/ |