diff --git a/lib/coffee-script/nodes.js b/lib/coffee-script/nodes.js index ed050d3e..2d2b84bc 100644 --- a/lib/coffee-script/nodes.js +++ b/lib/coffee-script/nodes.js @@ -307,9 +307,6 @@ code = node.compile(o); if (!node.isStatement(o)) { code = "" + this.tab + code + ";"; - if (node instanceof Literal) { - code = "" + code + "\n"; - } } codes.push(code); } else { diff --git a/src/nodes.coffee b/src/nodes.coffee index fcd03fe7..d1dd3294 100644 --- a/src/nodes.coffee +++ b/src/nodes.coffee @@ -229,7 +229,6 @@ exports.Block = class Block extends Base code = node.compile o unless node.isStatement o code = "#{@tab}#{code};" - code = "#{code}\n" if node instanceof Literal codes.push code else codes.push node.compile o, LEVEL_LIST