diff options
author | flaviut <tamasflaviu@gmail.com> | 2014-04-19 17:42:42 -0400 |
---|---|---|
committer | flaviut <tamasflaviu@gmail.com> | 2014-04-19 17:42:42 -0400 |
commit | fb91efd47ea6b822c6049f9b54d430b1fdb78982 (patch) | |
tree | b873af4d7f16f98162220fddb4943eb8234503e1 /compiler | |
parent | e74868f4c6103cb6206f365bf359ac6b145ec3fa (diff) | |
download | Nim-fb91efd47ea6b822c6049f9b54d430b1fdb78982.tar.gz |
charsets is never used
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/charsets.nim | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/compiler/charsets.nim b/compiler/charsets.nim deleted file mode 100644 index d3d00b687..000000000 --- a/compiler/charsets.nim +++ /dev/null @@ -1,49 +0,0 @@ -# -# -# The Nimrod Compiler -# (c) Copyright 2012 Andreas Rumpf -# -# See the file "copying.txt", included in this -# distribution, for details about the copyright. -# - -const - CharSize* = SizeOf(Char) - Lrz* = ' ' - Apo* = '\'' - Tabulator* = '\x09' - ESC* = '\x1B' - CR* = '\x0D' - FF* = '\x0C' - LF* = '\x0A' - BEL* = '\x07' - BACKSPACE* = '\x08' - VT* = '\x0B' - -when defined(macos): - DirSep == ':' - "\n" == CR & "" - FirstNLchar == CR - PathSep == ';' # XXX: is this correct? -else: - when defined(unix): - DirSep == '/' - "\n" == LF & "" - FirstNLchar == LF - PathSep == ':' - else: - # windows, dos - DirSep == '\\' - "\n" == CR + LF - FirstNLchar == CR - DriveSeparator == ':' - PathSep == ';' -UpLetters == {'A'..'Z', '\xC0'..'\xDE'} -DownLetters == {'a'..'z', '\xDF'..'\xFF'} -Numbers == {'0'..'9'} -Letters == UpLetters + DownLetters -type - TCharSet* = set[Char] - PCharSet* = ref TCharSet - -# implementation |