summary refs log tree commit diff stats
path: root/lib/system/strmantle.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-07-10 12:42:23 +0200
committerAraq <rumpf_a@web.de>2019-07-10 12:42:41 +0200
commitc94647aecad6ed7fd12152800437a6cda11e06e6 (patch)
treef876ae0ac6379dfd99fd5d5ed7d8903be96b433b /lib/system/strmantle.nim
parent96523cdd3e8ada367b804efbd47f4763a1269fa8 (diff)
downloadNim-c94647aecad6ed7fd12152800437a6cda11e06e6.tar.gz
styleCheck: make the compiler and large parts of the stdlib compatible with --styleCheck:error
Diffstat (limited to 'lib/system/strmantle.nim')
-rw-r--r--lib/system/strmantle.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/system/strmantle.nim b/lib/system/strmantle.nim
index a54f7a562..863eddd17 100644
--- a/lib/system/strmantle.nim
+++ b/lib/system/strmantle.nim
@@ -9,7 +9,7 @@
 
 # Compilerprocs for strings that do not depend on the string implementation.
 
-proc cmpStrings(a, b: string): int {.inline, compilerProc.} =
+proc cmpStrings(a, b: string): int {.inline, compilerproc.} =
   let alen = a.len
   let blen = b.len
   let minlen = min(alen, blen)
@@ -20,7 +20,7 @@ proc cmpStrings(a, b: string): int {.inline, compilerProc.} =
   else:
     result = alen - blen
 
-proc eqStrings(a, b: string): bool {.inline, compilerProc.} =
+proc eqStrings(a, b: string): bool {.inline, compilerproc.} =
   let alen = a.len
   let blen = b.len
   if alen == blen:
@@ -135,7 +135,7 @@ const
               1e20, 1e21, 1e22]
 
 proc nimParseBiggestFloat(s: string, number: var BiggestFloat,
-                          start = 0): int {.compilerProc.} =
+                          start = 0): int {.compilerproc.} =
   # This routine attempt to parse float that can parsed quickly.
   # ie whose integer part can fit inside a 53bits integer.
   # their real exponent must also be <= 22. If the float doesn't follow