summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorFlaviu Tamas <tamasflaviu@gmail.com>2015-05-23 13:17:19 -0400
committerFlaviu Tamas <tamasflaviu@gmail.com>2015-05-23 13:17:19 -0400
commit4873db4c7218d1abc4cf43a17e1330628362801d (patch)
treec17f54e9dc82f56708c8b3d28823490a9c35dd07 /compiler
parent188bba2b3cd3106e0c615e712b8f5fdd995137bb (diff)
downloadNim-4873db4c7218d1abc4cf43a17e1330628362801d.tar.gz
Rename crc module to "secure_hash"
Diffstat (limited to 'compiler')
-rw-r--r--compiler/ast.nim2
-rw-r--r--compiler/cgen.nim11
-rw-r--r--compiler/extccomp.nim2
-rw-r--r--compiler/jsgen.nim4
-rw-r--r--compiler/modules.nim2
-rw-r--r--compiler/rodread.nim2
-rw-r--r--compiler/rodwrite.nim2
-rw-r--r--compiler/secure_hash.nim (renamed from compiler/crc.nim)0
8 files changed, 12 insertions, 13 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim
index 3798410e8..fd9c5478b 100644
--- a/compiler/ast.nim
+++ b/compiler/ast.nim
@@ -10,7 +10,7 @@
 # abstract syntax tree + symbol table
 
 import
-  msgs, hashes, nversion, options, strutils, crc, ropes, idents, lists,
+  msgs, hashes, nversion, options, strutils, secure_hash, ropes, idents, lists,
   intsets, idgen
 
 type
diff --git a/compiler/cgen.nim b/compiler/cgen.nim
index 4b0bac28a..c3e6ac0d6 100644
--- a/compiler/cgen.nim
+++ b/compiler/cgen.nim
@@ -10,12 +10,11 @@
 ## This module implements the C code generator.
 
 import
-  ast, astalgo, hashes, trees, platform, magicsys, extccomp,
-  options, intsets,
-  nversion, nimsets, msgs, crc, bitsets, idents, lists, types, ccgutils, os,
-  ropes, math, passes, rodread, wordrecg, treetab, cgmeth, condsyms,
-  rodutils, renderer, idgen, cgendata, ccgmerge, semfold, aliases, lowerings,
-  semparallel
+  ast, astalgo, hashes, trees, platform, magicsys, extccomp, options, intsets,
+  nversion, nimsets, msgs, secure_hash, bitsets, idents, lists, types,
+  ccgutils, os, ropes, math, passes, rodread, wordrecg, treetab, cgmeth,
+  condsyms, rodutils, renderer, idgen, cgendata, ccgmerge, semfold, aliases,
+  lowerings, semparallel
 
 import strutils except `%` # collides with ropes.`%`
 
diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim
index cd7ac2a68..db6057b5e 100644
--- a/compiler/extccomp.nim
+++ b/compiler/extccomp.nim
@@ -13,7 +13,7 @@
 # nim files.
 
 import
-  lists, ropes, os, strutils, osproc, platform, condsyms, options, msgs, crc
+  lists, ropes, os, strutils, osproc, platform, condsyms, options, msgs, secure_hash
 
 type
   TSystemCC* = enum
diff --git a/compiler/jsgen.nim b/compiler/jsgen.nim
index 5c7071498..ebcaf32c4 100644
--- a/compiler/jsgen.nim
+++ b/compiler/jsgen.nim
@@ -30,8 +30,8 @@ implements the required case distinction.
 
 
 import
-  ast, astalgo, strutils, hashes, trees, platform, magicsys, extccomp,
-  options, nversion, nimsets, msgs, crc, bitsets, idents, lists, types, os,
+  ast, astalgo, strutils, hashes, trees, platform, magicsys, extccomp, options,
+  nversion, nimsets, msgs, secure_hash, bitsets, idents, lists, types, os,
   times, ropes, math, passes, ccgutils, wordrecg, renderer, rodread, rodutils,
   intsets, cgmeth, lowerings
 
diff --git a/compiler/modules.nim b/compiler/modules.nim
index 09abd5da6..0573b91f8 100644
--- a/compiler/modules.nim
+++ b/compiler/modules.nim
@@ -10,7 +10,7 @@
 ## implements the module handling
 
 import
-  ast, astalgo, magicsys, crc, rodread, msgs, cgendata, sigmatch, options,
+  ast, astalgo, magicsys, secure_hash, rodread, msgs, cgendata, sigmatch, options,
   idents, os, lexer, idgen, passes, syntaxes, llstream
 
 type
diff --git a/compiler/rodread.nim b/compiler/rodread.nim
index 066a02b1d..51d60f5b5 100644
--- a/compiler/rodread.nim
+++ b/compiler/rodread.nim
@@ -90,7 +90,7 @@
 
 import 
   os, options, strutils, nversion, ast, astalgo, msgs, platform, condsyms, 
-  ropes, idents, crc, idgen, types, rodutils, memfiles
+  ropes, idents, secure_hash, idgen, types, rodutils, memfiles
 
 type 
   TReasonForRecompile* = enum ## all the reasons that can trigger recompilation
diff --git a/compiler/rodwrite.nim b/compiler/rodwrite.nim
index c83e728db..22ecdd8af 100644
--- a/compiler/rodwrite.nim
+++ b/compiler/rodwrite.nim
@@ -13,7 +13,7 @@
 
 import 
   intsets, os, options, strutils, nversion, ast, astalgo, msgs, platform,
-  condsyms, ropes, idents, crc, rodread, passes, importer, idgen, rodutils
+  condsyms, ropes, idents, secure_hash, rodread, passes, importer, idgen, rodutils
 
 # implementation
 
diff --git a/compiler/crc.nim b/compiler/secure_hash.nim
index 7a2b6e4c2..7a2b6e4c2 100644
--- a/compiler/crc.nim
+++ b/compiler/secure_hash.nim