var support, interleaved #defines, fix ast1 default, misc performance

This commit is contained in:
Ganesh Viswanathan 2020-05-18 11:22:54 -05:00
commit 11f84d4d80
7 changed files with 314 additions and 240 deletions

View file

@ -35,10 +35,11 @@ cPlugin:
cOverride:
proc OPENSSL_die*(assertion: cstring; file: cstring; line: cint) {.importc.}
# Skip comments for https://github.com/tree-sitter/tree-sitter-c/issues/44
cImport(@[
basePath / "rsa.h",
basePath / "err.h",
], recurse = true, flags = "-f:ast2 -s " & FLAGS)
], recurse = true, flags = "-f:ast2 -s -c " & FLAGS)
{.passL: cryptoLPath.}