Index: src/parsing/scanner.h |
diff --git a/src/parsing/scanner.h b/src/parsing/scanner.h |
index 5ef2a94e8344d869f8208cc564d344fcbe4f8609..b4c6b62d1488f5654869ca4e9bfedd2c03f79f1f 100644 |
--- a/src/parsing/scanner.h |
+++ b/src/parsing/scanner.h |
@@ -425,13 +425,6 @@ |
// Returns the location of the last seen octal literal. |
Location octal_position() const { return octal_pos_; } |
void clear_octal_position() { octal_pos_ = Location::invalid(); } |
- // Returns the location of the last seen decimal literal with a leading zero. |
- Location decimal_with_leading_zero_position() const { |
- return decimal_with_leading_zero_pos_; |
- } |
- void clear_decimal_with_leading_zero_position() { |
- decimal_with_leading_zero_pos_ = Location::invalid(); |
- } |
// Returns the value of the last smi that was scanned. |
int smi_value() const { return current_.smi_value_; } |
@@ -779,9 +772,9 @@ |
// Input stream. Must be initialized to an Utf16CharacterStream. |
Utf16CharacterStream* source_; |
- // Last-seen positions of potentially problematic tokens. |
+ |
+ // Start position of the octal literal last scanned. |
Location octal_pos_; |
- Location decimal_with_leading_zero_pos_; |
// One Unicode character look-ahead; c0_ < 0 at the end of the input. |
uc32 c0_; |