Created
August 31, 2017 15:26
-
-
Save miketaylr/7ee41d84fdf22aadcb5fe33c4cc0acb4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: Source/JavaScriptCore/runtime/LiteralParser.cpp | |
=================================================================== | |
--- Source/JavaScriptCore/runtime/LiteralParser.cpp (revision 221395) | |
+++ Source/JavaScriptCore/runtime/LiteralParser.cpp (working copy) | |
@@ -272,7 +272,7 @@ template <ParserMode mode> TokenType Lit | |
if (*m_ptr == ';') { | |
token.type = TokSemi; | |
token.end = ++m_ptr; | |
- return TokAssign; | |
+ return TokSemi; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment