fix failure in lib/pure/ospaths.nim

FAIL: ospaths.nim
Test "lib/pure/ospaths.nim" in category "lib"
Failure: reNimcCrash
Expected:
Gotten:
invalid pragma: rtl
This commit is contained in:
Aman Gupta 2015-09-30 20:14:14 -07:00
commit 61ace9e394

View file

@ -10,6 +10,10 @@
# Included by the ``os`` module but a module in its own right for NimScript
# support.
when isMainModule:
{.pragma: rtl.}
import strutils
when defined(nimscript) or (defined(nimdoc) and not declared(os)):
{.pragma: rtl.}
{.push hint[ConvFromXtoItselfNotNeeded]:off.}