diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2014-12-06 13:11:44 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2014-12-06 13:11:44 +0100 |
commit | 5ee745888398eae686545235a15d125ef563cd3d (patch) | |
tree | f2e8b4b7a3c5e3dee91c6d1791d06e7529e735f4 /compiler | |
parent | 898501d9d1973a0ac1571a9e34c33f47e36d6c8a (diff) | |
parent | cd0f17202ee167c0ec0db2bb497d1c4554655abd (diff) | |
download | Nim-5ee745888398eae686545235a15d125ef563cd3d.tar.gz |
Merge pull request #1709 from juxiliary/devel
Fixing extraneous semicolon in jsgen output
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/jsgen.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/jsgen.nim b/compiler/jsgen.nim index 108c0fe10..2ae85d5cf 100644 --- a/compiler/jsgen.nim +++ b/compiler/jsgen.nim @@ -1431,7 +1431,7 @@ proc genObjConstr(p: PProc, n: PNode, r: var TCompRes) = r.res = toRope("{") r.kind = resExpr for i in countup(1, sonsLen(n) - 1): - if i > 0: app(r.res, ", ") + if i > 1: app(r.res, ", ") var it = n.sons[i] internalAssert it.kind == nkExprColonExpr gen(p, it.sons[1], a) |