Skip to content

Instantly share code, notes, and snippets.

@miketaylr
Created August 31, 2017 15:26
Show Gist options
  • Save miketaylr/7ee41d84fdf22aadcb5fe33c4cc0acb4 to your computer and use it in GitHub Desktop.
Save miketaylr/7ee41d84fdf22aadcb5fe33c4cc0acb4 to your computer and use it in GitHub Desktop.
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