complete std prefixes for stdlib (#22887)

follow up https://github.com/nim-lang/Nim/pull/22851
follow up https://github.com/nim-lang/Nim/pull/22873
This commit is contained in:
ringabout
2023-10-31 00:03:04 +08:00
committed by GitHub
parent 403e0118ae
commit 4d11d0619d
142 changed files with 277 additions and 275 deletions

View File

@@ -9,7 +9,7 @@
## This module parses an XML document and creates its XML tree representation.
import streams, parsexml, strtabs, xmltree
import std/[streams, parsexml, strtabs, xmltree]
when defined(nimPreviewSlimSystem):
import std/syncio
@@ -151,7 +151,7 @@ proc loadXml*(path: string, options: set[XmlParseOption] = {reportComments}): Xm
when isMainModule:
when not defined(testing):
import os
import std/os
var errors: seq[string] = @[]
var x = loadXml(paramStr(1), errors)