summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorJacek Sieka <arnetheduck@gmail.com>2018-04-23 17:02:38 +0800
committerAndreas Rumpf <rumpf_a@web.de>2018-04-23 11:02:38 +0200
commit72dfe176f5211f561263984a2df653f16dcf5466 (patch)
treefdfe465ee360ce63925753737a70973e3309dc7a /lib/pure
parenta8b70c550083e432f0028e6582c97d8310a48c8a (diff)
downloadNim-72dfe176f5211f561263984a2df653f16dcf5466.tar.gz
remove dead code elimination option (#7669)
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/fenv.nim2
-rw-r--r--lib/pure/matchers.nim2
-rw-r--r--lib/pure/net.nim2
-rw-r--r--lib/pure/os.nim2
-rw-r--r--lib/pure/parseutils.nim2
-rw-r--r--lib/pure/ropes.nim2
-rw-r--r--lib/pure/strmisc.nim2
-rw-r--r--lib/pure/strutils.nim2
-rw-r--r--lib/pure/unicode.nim2
9 files changed, 9 insertions, 9 deletions
diff --git a/lib/pure/fenv.nim b/lib/pure/fenv.nim
index f8f115ecc..a083c680c 100644
--- a/lib/pure/fenv.nim
+++ b/lib/pure/fenv.nim
@@ -10,7 +10,7 @@
 ## Floating-point environment. Handling of floating-point rounding and
 ## exceptions (overflow, division by zero, etc.).
 
-{.deadCodeElim:on.}
+{.deadCodeElim: on.}  # dce option deprecated
 
 when defined(Posix) and not defined(haiku):
   {.passl: "-lm".}
diff --git a/lib/pure/matchers.nim b/lib/pure/matchers.nim
index 6366fee1a..685c3b07a 100644
--- a/lib/pure/matchers.nim
+++ b/lib/pure/matchers.nim
@@ -12,7 +12,7 @@
 ## **Warning:** This module is deprecated since version 0.14.0.
 {.deprecated.}
 
-{.deadCodeElim: on.}
+{.deadCodeElim: on.}  # dce option deprecated
 
 {.push debugger:off .} # the user does not want to trace a part
                        # of the standard library!
diff --git a/lib/pure/net.nim b/lib/pure/net.nim
index ccf02a1fc..ebb59ca6d 100644
--- a/lib/pure/net.nim
+++ b/lib/pure/net.nim
@@ -68,7 +68,7 @@
 ## ``newSocket()``. The difference is that the latter creates a new file
 ## descriptor.
 
-{.deadCodeElim: on.}
+{.deadCodeElim: on.}  # dce option deprecated
 import nativesockets, os, strutils, parseutils, times, sets, options
 export Port, `$`, `==`
 export Domain, SockType, Protocol
diff --git a/lib/pure/os.nim b/lib/pure/os.nim
index ddeee2c6b..11be8f0c1 100644
--- a/lib/pure/os.nim
+++ b/lib/pure/os.nim
@@ -10,7 +10,7 @@
 ## This module contains basic operating system facilities like
 ## retrieving environment variables, reading command line arguments,
 ## working with directories, running shell commands, etc.
-{.deadCodeElim: on.}
+{.deadCodeElim: on.}  # dce option deprecated
 
 {.push debugger: off.}
 
diff --git a/lib/pure/parseutils.nim b/lib/pure/parseutils.nim
index 57387e62e..cecc94e92 100644
--- a/lib/pure/parseutils.nim
+++ b/lib/pure/parseutils.nim
@@ -11,7 +11,7 @@
 ##
 ## To unpack raw bytes look at the `streams <streams.html>`_ module.
 
-{.deadCodeElim: on.}
+{.deadCodeElim: on.}  # dce option deprecated
 
 {.push debugger:off .} # the user does not want to trace a part
                        # of the standard library!
diff --git a/lib/pure/ropes.nim b/lib/pure/ropes.nim
index 6ddd61afa..24ba012e5 100644
--- a/lib/pure/ropes.nim
+++ b/lib/pure/ropes.nim
@@ -19,7 +19,7 @@
 include "system/inclrtl"
 import streams
 
-{.deadCodeElim: on.}
+{.deadCodeElim: on.}  # dce option deprecated
 
 {.push debugger:off .} # the user does not want to trace a part
                        # of the standard library!
diff --git a/lib/pure/strmisc.nim b/lib/pure/strmisc.nim
index 89ef2fcd2..d1ff920c9 100644
--- a/lib/pure/strmisc.nim
+++ b/lib/pure/strmisc.nim
@@ -12,7 +12,7 @@
 
 import strutils
 
-{.deadCodeElim: on.}
+{.deadCodeElim: on.}  # dce option deprecated
 
 proc expandTabs*(s: string, tabSize: int = 8): string {.noSideEffect,
   procvar.} =
diff --git a/lib/pure/strutils.nim b/lib/pure/strutils.nim
index 54fdcb4d0..849c16c34 100644
--- a/lib/pure/strutils.nim
+++ b/lib/pure/strutils.nim
@@ -17,7 +17,7 @@ import parseutils
 from math import pow, round, floor, log10
 from algorithm import reverse
 
-{.deadCodeElim: on.}
+{.deadCodeElim: on.}  # dce option deprecated
 
 {.push debugger:off .} # the user does not want to trace a part
                        # of the standard library!
diff --git a/lib/pure/unicode.nim b/lib/pure/unicode.nim
index 257c620f7..cc4d28f5b 100644
--- a/lib/pure/unicode.nim
+++ b/lib/pure/unicode.nim
@@ -9,7 +9,7 @@
 
 ## This module provides support to handle the Unicode UTF-8 encoding.
 
-{.deadCodeElim: on.}
+{.deadCodeElim: on.}  # dce option deprecated
 
 include "system/inclrtl"