| Index: src/scanner.h
|
| diff --git a/src/scanner.h b/src/scanner.h
|
| index 5162fbec12d0bfec37a7c8847e7a6400b84b58c0..ef5f01baec03a228c9517ae8b862024f9e10832b 100644
|
| --- a/src/scanner.h
|
| +++ b/src/scanner.h
|
| @@ -436,7 +436,7 @@ class Scanner {
|
| void clear_octal_position() { octal_pos_ = Location::invalid(); }
|
|
|
| // Returns the value of the last smi that was scanned.
|
| - int smi_value() const { return smi_value_; }
|
| + int smi_value() const { return current_.smi_value_; }
|
|
|
| // Seek forward to the given position. This operation does not
|
| // work in general, for instance when there are pushed back
|
| @@ -491,6 +491,7 @@ class Scanner {
|
| Location location;
|
| LiteralBuffer* literal_chars;
|
| LiteralBuffer* raw_literal_chars;
|
| + int smi_value_;
|
| };
|
|
|
| static const int kCharacterLookaheadBufferSize = 1;
|
| @@ -718,9 +719,6 @@ class Scanner {
|
| // Start position of the octal literal last scanned.
|
| Location octal_pos_;
|
|
|
| - // Value of the last smi that was scanned.
|
| - int smi_value_;
|
| -
|
| // One Unicode character look-ahead; c0_ < 0 at the end of the input.
|
| uc32 c0_;
|
|
|
|
|