summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-01-09 14:52:15 +0100
committerAraq <rumpf_a@web.de>2011-01-09 14:52:15 +0100
commit064417fc5a6236e76d959a1a0fb43f68ab099d33 (patch)
treed6afed5332a8b1c8ee9ba5698356c37d4e12bbbf /lib/system
parent8c799da867e1a6b8af48d9ef3ddef281471bd393 (diff)
downloadNim-064417fc5a6236e76d959a1a0fb43f68ab099d33.tar.gz
bugfix: floating point precision; added strutils.formatFloat
Diffstat (limited to 'lib/system')
-rwxr-xr-xlib/system/ansi_c.nim5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/system/ansi_c.nim b/lib/system/ansi_c.nim
index e9300949b..362b73297 100755
--- a/lib/system/ansi_c.nim
+++ b/lib/system/ansi_c.nim
@@ -1,7 +1,7 @@
 #
 #
 #            Nimrod's Runtime Library
-#        (c) Copyright 2009 Andreas Rumpf
+#        (c) Copyright 2011 Andreas Rumpf
 #
 #    See the file "copying.txt", included in this
 #    distribution, for details about the copyright.
@@ -34,7 +34,8 @@ var
   c_stdout {.importc: "stdout", noDecl.}: C_TextFileStar
   c_stderr {.importc: "stderr", noDecl.}: C_TextFileStar
 
-var # constants faked as variables:
+# constants faked as variables:
+var 
   SIGINT {.importc: "SIGINT", nodecl.}: cint
   SIGSEGV {.importc: "SIGSEGV", nodecl.}: cint
   SIGABRT {.importc: "SIGABRT", nodecl.}: cint