summary refs log tree commit diff stats
path: root/lib/pure/strutils.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-02-02 00:05:55 +0100
committerAraq <rumpf_a@web.de>2011-02-02 00:05:55 +0100
commit437eb2c37ec9b3829301e27ea6bce7d70ad5eb02 (patch)
tree67a9e5983c4aa70b70bc4f9680c25d1c9ceb54c4 /lib/pure/strutils.nim
parent9387913b734e1a8f4c90acdfcbdc7f92a9892244 (diff)
downloadNim-437eb2c37ec9b3829301e27ea6bce7d70ad5eb02.tar.gz
nimgrep: first working version
Diffstat (limited to 'lib/pure/strutils.nim')
-rwxr-xr-xlib/pure/strutils.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/pure/strutils.nim b/lib/pure/strutils.nim
index 76ea068df..6a7f128c5 100755
--- a/lib/pure/strutils.nim
+++ b/lib/pure/strutils.nim
@@ -1,7 +1,7 @@
 #

 #

 #            Nimrod's Runtime Library

-#        (c) Copyright 2010 Andreas Rumpf

+#        (c) Copyright 2011 Andreas Rumpf

 #

 #    See the file "copying.txt", included in this

 #    distribution, for details about the copyright.

@@ -42,6 +42,8 @@ const
   IdentStartChars* = {'a'..'z', 'A'..'Z', '_'}

     ## the set of characters an identifier can start with

 

+  NewLines* = {'\13', '\10'}

+    ## the set of characters a newline terminator can start with

 

 proc toLower*(c: Char): Char {.noSideEffect, procvar,

   rtl, extern: "nsuToLowerChar".} =