summary refs log tree commit diff stats
path: root/compiler/nimlexbase.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-12-29 01:13:51 +0100
committerAraq <rumpf_a@web.de>2013-12-29 01:13:51 +0100
commit438703f59e4d226f6e83e78c4f549a381526c6c2 (patch)
treedd13f0b882482e51f513cbbcb0ce292a66098c09 /compiler/nimlexbase.nim
parent1101a40f91880b6cd1f0807d2b272eda7b5c9491 (diff)
downloadNim-438703f59e4d226f6e83e78c4f549a381526c6c2.tar.gz
case consistency: next steps
Diffstat (limited to 'compiler/nimlexbase.nim')
-rw-r--r--compiler/nimlexbase.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nimlexbase.nim b/compiler/nimlexbase.nim
index 1dcb927ce..e6dcd8ce7 100644
--- a/compiler/nimlexbase.nim
+++ b/compiler/nimlexbase.nim
@@ -107,7 +107,7 @@ proc fillBuffer(L: var TBaseLexer) =
         oldBufLen = L.BufLen
         L.bufLen = L.BufLen * 2
         L.buf = cast[cstring](realloc(L.buf, L.bufLen * chrSize))
-        assert(L.bufLen - oldBuflen == oldBufLen)
+        assert(L.bufLen - oldBufLen == oldBufLen)
         charsRead = llStreamRead(L.stream, addr(L.buf[oldBufLen]), 
                                  oldBufLen * chrSize) div chrSize
         if charsRead < oldBufLen: