aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2019-01-15 20:18:42 -0600
committerGanesh Viswanathan <dev@genotrance.com>2019-01-15 20:18:42 -0600
commitf81b2a89894298fa06a2d3c7d7e3bdc17581469c (patch)
tree7ac7a0c60a95341140720c4f232a2b1178455764
parentda06be80d1a3b00cf5b380aa9529d403ca8aab9b (diff)
downloadnimterop-f81b2a89894298fa06a2d3c7d7e3bdc17581469c.tar.gz
nimterop-f81b2a89894298fa06a2d3c7d7e3bdc17581469c.zip
Minor output fix
-rw-r--r--nimterop/grammar.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/nimterop/grammar.nim b/nimterop/grammar.nim
index 3caeb3d..f767ce6 100644
--- a/nimterop/grammar.nim
+++ b/nimterop/grammar.nim
@@ -149,7 +149,7 @@ proc initGrammar() =
if i < gStateRT.data.len and gStateRT.data[i].name in ["identifier", "number_literal"]:
let
flen = gStateRT.data[i].val.getIdentifier()
- gStateRT.typeStr &= &" {name}*: = {aptr}array[{flen}, {tptr}{typ}]\n"
+ gStateRT.typeStr &= &" {name}* = {aptr}array[{flen}, {tptr}{typ}]\n"
else:
if name == typ or typ == "object":
gStateRT.typeStr &= &" {name}* = object\n"