Index: src/scanner.h |
diff --git a/src/scanner.h b/src/scanner.h |
index 94f9102c042cddbbffe03865e7c533128017179b..2e96a99d874d8f22d4cf7524768f68c5fb3cd921 100644 |
--- a/src/scanner.h |
+++ b/src/scanner.h |
@@ -571,10 +571,10 @@ class Scanner { |
AddRawLiteralChar(c0_); |
} |
c0_ = source_->Advance(); |
- if (check_surrogate) HandleLeadSurrugate(); |
+ if (check_surrogate) HandleLeadSurrogate(); |
} |
- void HandleLeadSurrugate() { |
+ void HandleLeadSurrogate() { |
if (unibrow::Utf16::IsLeadSurrogate(c0_)) { |
uc32 c1 = source_->Advance(); |
if (!unibrow::Utf16::IsTrailSurrogate(c1)) { |