ast2 ignore parseString warnings, optional getNimExpression, handle override nil, param comments

This commit is contained in:
Ganesh Viswanathan 2020-04-06 22:38:12 -05:00
commit 4c513a50de
2 changed files with 28 additions and 14 deletions

View file

@ -29,7 +29,7 @@ task bt, "build toast":
execCmd("nim c --hints:off -d:danger nimterop/toast.nim")
task btd, "build toast":
execCmd("nim c --hints:off nimterop/toast.nim")
execCmd("nim c -g --hints:off nimterop/toast.nim")
task docs, "Generate docs":
buildDocs(@["nimterop/all.nim"], "build/htmldocs")
@ -56,6 +56,8 @@ task test, "Test":
execTest "tests/tmath.nim"
if defined(OSX) or defined(Windows) or not existsEnv("TRAVIS"):
execTest "tests/tsoloud.nim"
execTest "tests/tsoloud.nim", "-d:FLAGS=\"-f:ast2\""
execTest "tests/tsoloud.nim", "-d:FLAGS=\"-f:ast2 -H\""
# getHeader tests
withDir("tests"):