From 735d8955bf8627d71fd85f92e1969fd7957b7dee Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Tue, 12 May 2015 23:20:46 +0100 Subject: [PATCH] sync with upstream acorn --- src/acorn/src/tokenize.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/acorn/src/tokenize.js b/src/acorn/src/tokenize.js index a844b7a2d9..e99fc74080 100755 --- a/src/acorn/src/tokenize.js +++ b/src/acorn/src/tokenize.js @@ -283,7 +283,7 @@ pp.readToken_lt_gt = function(code) { // '<>' } if (next == 33 && code == 60 && this.input.charCodeAt(this.pos + 2) == 45 && this.input.charCodeAt(this.pos + 3) == 45) { - if (this.inModule) unexpected() + if (this.inModule) this.unexpected() // `