diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2018-11-28 22:21:34 -0600 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2018-11-28 22:21:34 -0600 |
| commit | b1c5407ff3fbf79c8d9318b789c9f4a638e43f83 (patch) | |
| tree | 8e8c71113e95eeb07d0fb04f5f2c32fcdeb39480 | |
| parent | c9b57c567cf065ca4ff5dcb4f4a5ee2eb1f01a52 (diff) | |
| download | nimterop-b1c5407ff3fbf79c8d9318b789c9f4a638e43f83.tar.gz nimterop-b1c5407ff3fbf79c8d9318b789c9f4a638e43f83.zip | |
Fix #22 - print parse errors as comments
| -rw-r--r-- | nimterop/ast.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nimterop/ast.nim b/nimterop/ast.nim index fe0111f..4d20482 100644 --- a/nimterop/ast.nim +++ b/nimterop/ast.nim @@ -239,7 +239,7 @@ proc genNimAst(root: TSNode) = case $node.tsNodeType(): of "ERROR": let (line, col) = getLineCol(node) - echo &"Potentially invalid syntax at line {line} column {col}" + echo &"# Potentially invalid syntax at line {line} column {col}" of "preproc_def": pPreprocDef(node) of "type_definition": |
