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() {
|
||||
var node = startNode();
|
||||
|
||||
var origInXJSTag = inXJSTag;
|
||||
var origInXJSTag = inXJSTag,
|
||||
origInXJSChild = inXJSChild;
|
||||
|
||||
inXJSTag = false;
|
||||
inXJSChild = false;
|
||||
|
||||
next();
|
||||
node.expression = tokType === _braceR ? parseXJSEmptyExpression() : parseExpression();
|
||||
|
||||
inXJSTag = origInXJSTag;
|
||||
inXJSChild = origInXJSChild;
|
||||
|
||||
expect(_braceR);
|
||||
return finishNode(node, "XJSExpressionContainer");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user