compiler_ropes: don't expose newRope
This commit is contained in:
parent
97d2df9bac
commit
b4e4ea8d1b
3 changed files with 5 additions and 5 deletions
|
|
@ -103,7 +103,7 @@ proc len*(a: PRope): int =
|
|||
if a == nil: result = 0
|
||||
else: result = a.length
|
||||
|
||||
proc newRope*(data: string = nil): PRope =
|
||||
proc newRope(data: string = nil): PRope =
|
||||
new(result)
|
||||
if data != nil:
|
||||
result.length = len(data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue