ast2 test fix for osx, catch parseString errors, handle type field comments

This commit is contained in:
Ganesh Viswanathan 2020-04-02 18:17:36 -05:00
commit 5c20ce7b60
5 changed files with 51 additions and 36 deletions

View file

@ -30,7 +30,8 @@ cPlugin:
proc onSymbol*(sym: var Symbol) {.exportc, dynlib.} =
sym.name = sym.name.replace("pcre_", "")
cImport(pcreH, dynlib="dynpcre")
const FLAGS {.strdefine.} = ""
cImport(pcreH, dynlib="dynpcre", flags = FLAGS)
echo version()