[Pkg-mozext-commits] [adblock-plus] 290/464: Fixed: Semi-colon missing after a throw statement

David Prévot taffit at moszumanska.debian.org
Tue Jul 22 20:44:26 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus.

commit eed630a112a5f88739fc0c93863f9ef8acae5075
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Mon Aug 27 19:44:19 2012 +0200

    Fixed: Semi-colon missing after a throw statement
---
 scripts/astDecompile.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/astDecompile.js b/scripts/astDecompile.js
index f756a62..1536a37 100644
--- a/scripts/astDecompile.js
+++ b/scripts/astDecompile.js
@@ -67,7 +67,7 @@ function decompileReturnStatement(ast) {
 }
 
 function decompileThrowStatement(ast) {
-  return "throw " + decompileAST(ast.argument);
+  return "throw " + decompileAST(ast.argument) + ";";
 }
 
 function decompileTryStatement(ast) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git



More information about the Pkg-mozext-commits mailing list