Revert space counting after the opening tag in favor of better fix since this one introduces extra parsing error.

Conflicts:
	acorn.js
This commit is contained in:
Ingvar Stepanyan 2014-07-10 18:29:44 +03:00
parent 77e05c4edc
commit 4ed5087bea

View File

@ -544,9 +544,7 @@
tokEnd = tokPos; tokEnd = tokPos;
if (options.locations) tokEndLoc = new Position; if (options.locations) tokEndLoc = new Position;
tokType = type; tokType = type;
if (shouldSkipSpace !== false && !(inXJSTag && val === '>')) { if (shouldSkipSpace !== false) skipSpace();
skipSpace();
}
tokVal = val; tokVal = val;
tokRegexpAllowed = type.beforeExpr; tokRegexpAllowed = type.beforeExpr;
if (options.onToken) { if (options.onToken) {