diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2014-02-16 11:31:03 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2014-02-16 11:31:03 +0100 |
commit | 18c47b9e13e289cd4410ac4483f80c8d27450bcd (patch) | |
tree | a09a0e48025c79fee103b16f19140f533b7c6847 /compiler/pas2nim/paslex.nim | |
parent | f701ee086aacf3ad9d4f58c20d5924fc0c5b3bb2 (diff) | |
parent | ce5a494927abf66cc39cf849b9c66e2dadbe579e (diff) | |
download | Nim-18c47b9e13e289cd4410ac4483f80c8d27450bcd.tar.gz |
Merge pull request #928 from Varriount/testement/nil-to-discard
Changed tests and tools to use 'discard' statements
Diffstat (limited to 'compiler/pas2nim/paslex.nim')
-rw-r--r-- | compiler/pas2nim/paslex.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/pas2nim/paslex.nim b/compiler/pas2nim/paslex.nim index 67473e71f..f24b0c420 100644 --- a/compiler/pas2nim/paslex.nim +++ b/compiler/pas2nim/paslex.nim @@ -342,7 +342,7 @@ proc getSymbol(L: var TLexer, tok: var TToken) = h = h +% ord(c) h = h +% h shl 10 h = h xor (h shr 6) - of '_': nil + of '_': discard else: break inc(pos) h = h +% h shl 3 |