mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-24 08:15:25 +00:00
big rename
This commit is contained in:
@@ -15,7 +15,7 @@ var links = 0 # count the number of links
|
||||
var filename = addFileExt(ParamStr(1), "html")
|
||||
var s = newFileStream(filename, fmRead)
|
||||
if s == nil: quit("cannot open the file " & filename)
|
||||
var x: TXmlParser
|
||||
var x: XmlParser
|
||||
open(x, s, filename)
|
||||
next(x) # get first event
|
||||
block mainLoop:
|
||||
|
||||
@@ -10,7 +10,7 @@ if paramCount() < 1:
|
||||
var filename = addFileExt(paramStr(1), "html")
|
||||
var s = newFileStream(filename, fmRead)
|
||||
if s == nil: quit("cannot open the file " & filename)
|
||||
var x: TXmlParser
|
||||
var x: XmlParser
|
||||
open(x, s, filename)
|
||||
while true:
|
||||
x.next()
|
||||
|
||||
Reference in New Issue
Block a user