Index: src/parsing/scanner.cc |
diff --git a/src/parsing/scanner.cc b/src/parsing/scanner.cc |
index a4d9d76da68c659e5e1fef4e7dc529fd801c0d0d..20a53f3c988fd4c82a64c043e337330ac22211e3 100644 |
--- a/src/parsing/scanner.cc |
+++ b/src/parsing/scanner.cc |
@@ -1175,6 +1175,13 @@ |
DCHECK(c0_ == '`'); |
next_.location.beg_pos = source_pos(); |
Advance(); // Consume ` |
+ return ScanTemplateSpan(); |
+} |
+ |
+ |
+Token::Value Scanner::ScanTemplateContinuation() { |
+ DCHECK_EQ(next_.token, Token::RBRACE); |
+ next_.location.beg_pos = source_pos() - 1; // We already consumed } |
return ScanTemplateSpan(); |
} |