From 5312e124cde69d328d6de86809fd68d1a6b1399e Mon Sep 17 00:00:00 2001 From: David Majda Date: Wed, 4 Sep 2013 17:47:07 +0200 Subject: [PATCH] Fix object literal formatting in generated code --- lib/compiler/passes/generate-javascript.js | 2 +- lib/parser.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/compiler/passes/generate-javascript.js b/lib/compiler/passes/generate-javascript.js index bc915d8..5aa667a 100644 --- a/lib/compiler/passes/generate-javascript.js +++ b/lib/compiler/passes/generate-javascript.js @@ -936,7 +936,7 @@ module.exports = function(ast, options) { '', ' return {', ' SyntaxError: SyntaxError,', - ' parse : parse', + ' parse: parse', ' };', '})()' ].join('\n')); diff --git a/lib/parser.js b/lib/parser.js index f93192a..2816560 100644 --- a/lib/parser.js +++ b/lib/parser.js @@ -3000,6 +3000,6 @@ module.exports = (function() { return { SyntaxError: SyntaxError, - parse : parse + parse: parse }; })();