tests: remove the orphaned file xymus_net.res
[nit.git] / src / doc / doc_phases / doc_console.nit
index 9734ed3..56fbc74 100644 (file)
@@ -20,7 +20,6 @@ module doc_console
 
 import semantize
 import doc_commands
-import doc_extract
 import doc_poset
 import doc::console_templates
 
@@ -269,7 +268,7 @@ redef class ArticleCommand
 
        redef fun make_results(nitx, results) do
                var len = results.length
-               # FIXME how to render the pager for one worded namespaces like "standard"?
+               # FIXME how to render the pager for one worded namespaces like "core"?
                if len == 1 then
                        var page = results.first.as(PageMatch).page
                        var pager = new Pager
@@ -551,8 +550,8 @@ private class Pager
                                b.append("\\\\")
                        else if c == '`' then
                                b.append("'")
-                       else if c.ascii < 32 then
-                               b.append("\\{c.ascii.to_base(8, false)}")
+                       else if c.code_point < 32 then
+                               b.append("\\{c.code_point.to_base(8)}")
                        else
                                b.add(c)
                        end