summary refs log tree commit diff stats
path: root/lib/pure/parsexml.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pure/parsexml.nim')
-rw-r--r--lib/pure/parsexml.nim8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/pure/parsexml.nim b/lib/pure/parsexml.nim
index 88cb6d9c0..c760799a2 100644
--- a/lib/pure/parsexml.nim
+++ b/lib/pure/parsexml.nim
@@ -41,7 +41,7 @@ document.
   # This program reads an HTML file and writes its title to stdout.
   # Errors and whitespace are ignored.
 
-  import os, streams, parsexml, strutils
+  import std/[os, streams, parsexml, strutils]
 
   if paramCount() < 1:
     quit("Usage: htmltitle filename[.html]")
@@ -90,7 +90,7 @@ an HTML document contains.
   # This program reads an HTML file and writes all its used links to stdout.
   # Errors and whitespace are ignored.
 
-  import os, streams, parsexml, strutils
+  import std/[os, streams, parsexml, strutils]
 
   proc `=?=` (a, b: string): bool =
     # little trick: define our own comparator that ignores case
@@ -147,7 +147,7 @@ an HTML document contains.
 ]##
 
 import
-  strutils, lexbase, streams, unicode
+  std/[strutils, lexbase, streams, unicode]
 
 when defined(nimPreviewSlimSystem):
   import std/[assertions, syncio]
@@ -792,7 +792,7 @@ proc next*(my: var XmlParser) =
     my.state = stateNormal
 
 when not defined(testing) and isMainModule:
-  import os
+  import std/os
   var s = newFileStream(paramStr(1), fmRead)
   if s == nil: quit("cannot open the file" & paramStr(1))
   var x: XmlParser