preparations for a generational GC
This commit is contained in:
parent
1c0c80ef2d
commit
5d119f61d1
6 changed files with 13 additions and 6 deletions
|
|
@ -754,7 +754,7 @@ proc replaceWord*(s, sub: string, by = ""): string {.noSideEffect,
|
|||
else:
|
||||
add result, substr(s, i, j)
|
||||
i = j + 1
|
||||
# copy the rest:
|
||||
# copy the rest:
|
||||
add result, substr(s, i)
|
||||
|
||||
proc delete*(s: var string, first, last: int) {.noSideEffect,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue