Fix windows not processing headers

This commit is contained in:
Joey Yakimowich-Payne 2018-07-17 18:11:39 +09:00
commit 5e3c0999e0

View file

@ -6,7 +6,7 @@ template relativePath(path: untyped): untyped =
path.multiReplace([(gOutput, ""), ("\\", "/"), ("//", "/")])
proc c2nim*(fl, outfile: string, c2nimConfig: c2nimConfigObj) =
var file = search(fl)
var file = search(fl).sanitizePath
if file.len() == 0:
return