diff options
Diffstat (limited to 'lib/pure/pathnorm.nim')
-rw-r--r-- | lib/pure/pathnorm.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pure/pathnorm.nim b/lib/pure/pathnorm.nim index 00b3ebc0a..407ec156c 100644 --- a/lib/pure/pathnorm.nim +++ b/lib/pure/pathnorm.nim @@ -56,7 +56,8 @@ proc isDotDot(x: string; bounds: (int, int)): bool = proc isSlash(x: string; bounds: (int, int)): bool = bounds[1] == bounds[0] and x[bounds[0]] in {DirSep, AltSep} -proc addNormalizePath*(x: string; result: var string; state: var int; dirSep = DirSep) = +proc addNormalizePath*(x: string; result: var string; state: var int; + dirSep = DirSep) = ## Low level proc. Undocumented. # state: 0th bit set if isAbsolute path. Other bits count |