Index: src/preparser.h |
diff --git a/src/preparser.h b/src/preparser.h |
index 41ebf97280fbcae62ddc36e86149a1a25aa1f9c8..862b7fb40dd894b53dfcec80d36aedde5b441e3f 100644 |
--- a/src/preparser.h |
+++ b/src/preparser.h |
@@ -3095,6 +3095,13 @@ ParserBase<Traits>::ParseLeftHandSideExpression( |
break; |
} |
+ case Token::TEMPLATE_SPAN: |
+ case Token::TEMPLATE_TAIL: { |
+ BindingPatternUnexpectedToken(classifier); |
+ result = ParseTemplateLiteral(result, position(), classifier, CHECK_OK); |
+ break; |
+ } |
+ |
default: |
return result; |
} |