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;
if (options.locations) tokEndLoc = new Position;
tokType = type;
if (shouldSkipSpace !== false && !(inXJSTag && val === '>')) {
skipSpace();
}
if (shouldSkipSpace !== false) skipSpace();
tokVal = val;
tokRegexpAllowed = type.beforeExpr;
if (options.onToken) {