diff options
| -rw-r--r-- | nimterop/getters.nim | 5 | ||||
| -rw-r--r-- | nimterop/toast.nim | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/nimterop/getters.nim b/nimterop/getters.nim index f1d1866..f834370 100644 --- a/nimterop/getters.nim +++ b/nimterop/getters.nim @@ -103,7 +103,10 @@ const # floating point "float": "cfloat", "double": "cdouble", - "long double": "clongdouble" + "long double": "clongdouble", + + # Misc Nim types + "Bool": "bool" }.toTable() # Nim type names that shouldn't need to be wrapped again diff --git a/nimterop/toast.nim b/nimterop/toast.nim index d74838a..a4fe6fa 100644 --- a/nimterop/toast.nim +++ b/nimterop/toast.nim @@ -114,6 +114,9 @@ proc main( doAssert gState.outputHandle.open(outputFile, fmWrite), &"Failed to write to {outputFile}" + if gState.debug: + echo &"# Writing output to {outputFile}\n" + # Process grammar into AST let astTable = |
