summary refs log tree commit diff stats
path: root/lib/impure
diff options
context:
space:
mode:
authordef <dennis@felsin9.de>2015-07-11 14:39:19 +0200
committerdef <dennis@felsin9.de>2016-01-25 19:10:37 +0100
commitc50b5b62ef5ae51467754f7c1db49c4cbeaee5f8 (patch)
tree3c40a179da95227dd7308d57965809f7e2dacb44 /lib/impure
parent4246f660ea4ba7bab05811662eb53a87cc0cc049 (diff)
downloadNim-c50b5b62ef5ae51467754f7c1db49c4cbeaee5f8.tar.gz
Fix a few deprecation warnings
Diffstat (limited to 'lib/impure')
-rw-r--r--lib/impure/nre.nim1
-rw-r--r--lib/impure/re.nim2
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/impure/nre.nim b/lib/impure/nre.nim
index 973f1f2ee..10700b59b 100644
--- a/lib/impure/nre.nim
+++ b/lib/impure/nre.nim
@@ -10,7 +10,6 @@
 from pcre import nil
 import nre.private.util
 import tables
-import unsigned
 from strutils import toLower, `%`
 from math import ceil
 import options
diff --git a/lib/impure/re.nim b/lib/impure/re.nim
index 60bb6c77f..95ab95b17 100644
--- a/lib/impure/re.nim
+++ b/lib/impure/re.nim
@@ -25,6 +25,8 @@
 ## .. include:: ../doc/regexprs.txt
 ##
 
+{.deprecated.}
+
 import
   pcre, strutils, rtarrays