Index: src/parsing/scanner.h |
diff --git a/src/parsing/scanner.h b/src/parsing/scanner.h |
index 0bb18679c525aea7154dbbb687494e366b923511..b4c6b62d1488f5654869ca4e9bfedd2c03f79f1f 100644 |
--- a/src/parsing/scanner.h |
+++ b/src/parsing/scanner.h |
@@ -588,7 +588,7 @@ class Scanner { |
} |
void PushBack(uc32 ch) { |
- if (ch > static_cast<uc32>(unibrow::Utf16::kMaxNonSurrogateCharCode)) { |
+ if (c0_ > static_cast<uc32>(unibrow::Utf16::kMaxNonSurrogateCharCode)) { |
source_->PushBack(unibrow::Utf16::TrailSurrogate(c0_)); |
source_->PushBack(unibrow::Utf16::LeadSurrogate(c0_)); |
} else { |