diff --git a/acorn.js b/acorn.js index 53798add98..87112da42d 100644 --- a/acorn.js +++ b/acorn.js @@ -3050,6 +3050,7 @@ // standard JS token or an XJS text node inXJSChild = origInXJSChild; inXJSTag = origInXJSTag; + tokRegexpAllowed = false; expectChar('>'); return finishNode(node, "XJSClosingElement"); }