diff options
author | Araq <rumpf_a@web.de> | 2011-02-02 00:05:55 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-02-02 00:05:55 +0100 |
commit | 437eb2c37ec9b3829301e27ea6bce7d70ad5eb02 (patch) | |
tree | 67a9e5983c4aa70b70bc4f9680c25d1c9ceb54c4 /lib/pure/strutils.nim | |
parent | 9387913b734e1a8f4c90acdfcbdc7f92a9892244 (diff) | |
download | Nim-437eb2c37ec9b3829301e27ea6bce7d70ad5eb02.tar.gz |
nimgrep: first working version
Diffstat (limited to 'lib/pure/strutils.nim')
-rwxr-xr-x | lib/pure/strutils.nim | 4 |
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".} = |