compiler_ropes: don't expose newRope

This commit is contained in:
Jacek Sieka 2015-03-29 12:10:46 +08:00
commit b4e4ea8d1b
3 changed files with 5 additions and 5 deletions

View file

@ -635,7 +635,7 @@ proc commandJSON*() =
var d = newDocumentor(gProjectFull, options.gConfigVars)
d.hasToc = true
var json = generateJson(d, ast)
var content = newRope(pretty(json))
var content = toRope(pretty(json))
if optStdout in gGlobalOptions:
writeRope(stdout, content)