diff options
Diffstat (limited to 'examples/parsecfgex.nim')
-rw-r--r-- | examples/parsecfgex.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/parsecfgex.nim b/examples/parsecfgex.nim index 0f37a0378..0fa03ffb5 100644 --- a/examples/parsecfgex.nim +++ b/examples/parsecfgex.nim @@ -1,7 +1,7 @@ import os, parsecfg, strutils, streams - + var f = newFileStream(paramStr(1), fmRead) if f != nil: var p: CfgParser @@ -9,7 +9,7 @@ if f != nil: while true: var e = next(p) case e.kind - of cfgEof: + of cfgEof: echo("EOF!") break of cfgSectionStart: ## a ``[section]`` has been parsed |