Fix in child XJS MemberExpression
This commit is contained in:
parent
533d1d62ec
commit
ae9fae6c76
6
acorn.js
6
acorn.js
@ -3054,13 +3054,17 @@
|
|||||||
function parseXJSExpressionContainer() {
|
function parseXJSExpressionContainer() {
|
||||||
var node = startNode();
|
var node = startNode();
|
||||||
|
|
||||||
var origInXJSTag = inXJSTag;
|
var origInXJSTag = inXJSTag,
|
||||||
|
origInXJSChild = inXJSChild;
|
||||||
|
|
||||||
inXJSTag = false;
|
inXJSTag = false;
|
||||||
|
inXJSChild = false;
|
||||||
|
|
||||||
next();
|
next();
|
||||||
node.expression = tokType === _braceR ? parseXJSEmptyExpression() : parseExpression();
|
node.expression = tokType === _braceR ? parseXJSEmptyExpression() : parseExpression();
|
||||||
|
|
||||||
inXJSTag = origInXJSTag;
|
inXJSTag = origInXJSTag;
|
||||||
|
inXJSChild = origInXJSChild;
|
||||||
|
|
||||||
expect(_braceR);
|
expect(_braceR);
|
||||||
return finishNode(node, "XJSExpressionContainer");
|
return finishNode(node, "XJSExpressionContainer");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user