diff options
author | Araq <rumpf_a@web.de> | 2014-03-04 08:30:11 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-03-04 08:30:11 +0100 |
commit | 7918c30b903123b9c12cc664f99f43d0754c4fdd (patch) | |
tree | 33b9ab0340ce66af19203f2034f3f7394d1f6521 | |
parent | f54556518eba317dbe5a4aa86086fa2de8671f7d (diff) | |
download | Nim-7918c30b903123b9c12cc664f99f43d0754c4fdd.tar.gz |
removed dead code
-rw-r--r-- | compiler/ccgmerge.nim | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/compiler/ccgmerge.nim b/compiler/ccgmerge.nim index 5b04f1358..2d27257ce 100644 --- a/compiler/ccgmerge.nim +++ b/compiler/ccgmerge.nim @@ -145,33 +145,6 @@ proc atEndMark(buf: cstring, pos: int): bool = while s < NimMergeEndMark.len and buf[pos+s] == NimMergeEndMark[s]: inc s result = s == NimMergeEndMark.len -when false: - proc readVerbatimSection(L: var TBaseLexer): PRope = - var pos = L.bufpos - var buf = L.buf - result = newMutableRope(30_000) - while true: - case buf[pos] - of CR: - pos = nimlexbase.HandleCR(L, pos) - buf = L.buf - result.data.add(tnl) - of LF: - pos = nimlexbase.HandleLF(L, pos) - buf = L.buf - result.data.add(tnl) - of '\0': - InternalError("ccgmerge: expected: " & NimMergeEndMark) - break - else: - if atEndMark(buf, pos): - inc pos, NimMergeEndMark.len - break - result.data.add(buf[pos]) - inc pos - L.bufpos = pos - freezeMutableRope(result) - proc readVerbatimSection(L: var TBaseLexer): PRope = var pos = L.bufpos var buf = L.buf |