prettified re.nim; make some tests green

This commit is contained in:
Araq 2014-08-31 13:46:27 +02:00
commit 3ba34f1762
7 changed files with 98 additions and 94 deletions

View file

@ -2,9 +2,9 @@ import os
proc getDllName: string =
result = "mylib.dll"
if ExistsFile(result): return
if fileExists(result): return
result = "mylib2.dll"
if ExistsFile(result): return
if fileExists(result): return
quit("could not load dynamic library")
proc myImport(s: cstring) {.cdecl, importc, dynlib: getDllName().}