Fixes for new comment handling.

This commit is contained in:
Dominik Picheta
2014-09-09 11:43:54 +01:00
parent 56f11e2c95
commit 4db6535025
3 changed files with 3 additions and 1 deletions

View File

@@ -796,6 +796,7 @@ else:
else:
# FD no longer a part of the selector. Likely been closed
# (e.g. socket disconnected).
discard
processTimers(p)

View File

@@ -247,6 +247,7 @@ proc asyncSockHandleWrite(h: RootRef) =
# Apparently the socket cannot be written to. Even though select
# just told us that it can be... This used to be an assert. Just
# do nothing instead.
discard
elif bytesSent != sock.sendBuffer.len:
sock.sendBuffer = sock.sendBuffer[bytesSent .. -1]
elif bytesSent == sock.sendBuffer.len:

View File

@@ -37,7 +37,7 @@ proc asmx64 () {.compileTime} =
proc abortAsmParse (err:string) =
#
discard
let codeLen = code.len
#let codeEnd = codeLen-1