[Pkg-javascript-commits] [node-acorn-jsx] 85/484: [loose parser] Fix typo

Bastien Roucariès rouca at moszumanska.debian.org
Sat Aug 19 14:20:08 UTC 2017


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

rouca pushed a commit to branch master
in repository node-acorn-jsx.

commit f8bcc75378623a5181adcbd1a66d26d7adc747f0
Author: Marijn Haverbeke <marijnh at gmail.com>
Date:   Thu Jan 17 14:49:20 2013 +0100

    [loose parser] Fix typo
---
 acorn_loose.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/acorn_loose.js b/acorn_loose.js
index ed0c30b..f979030 100644
--- a/acorn_loose.js
+++ b/acorn_loose.js
@@ -629,7 +629,7 @@
     while (!closesBlock(close, indent)) {
       var elt = parseExpression(true);
       if (isDummy(elt)) {
-        if (closesBlock(close, ident)) break;
+        if (closesBlock(close, indent)) break;
         next();
       } else {
         elts.push(elt);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-acorn-jsx.git



More information about the Pkg-javascript-commits mailing list