Index: src/scanner.cc |
diff --git a/src/scanner.cc b/src/scanner.cc |
index 1dae1e42cd4c8f726cf95916205066782dc35fcd..aa5ae4a5e93c317dd804d92420b792fdf0707221 100644 |
--- a/src/scanner.cc |
+++ b/src/scanner.cc |
@@ -1006,7 +1006,7 @@ Token::Value Scanner::ScanNumber(bool seen_period) { |
if (next_.literal_chars->one_byte_literal().length() <= 10 && |
value <= Smi::kMaxValue && c0_ != '.' && c0_ != 'e' && c0_ != 'E') { |
- smi_value_ = static_cast<int>(value); |
+ next_.smi_value_ = static_cast<int>(value); |
literal.Complete(); |
HandleLeadSurrogate(); |