summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Parser.cpp
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2020-10-02 09:59:28 -0400
committerAndreas Kling <kling@serenityos.org>2020-10-02 16:03:17 +0200
commitef1b21004fc04efdd1baf01d375d4bac614abc61 (patch)
tree9fd9b386cc9d7bd5d21ad8e480e946c43c183b54 /Libraries/LibJS/Parser.cpp
parent73998744793a60b91afabdbc24ad56d9d45171b9 (diff)
downloadserenity-ef1b21004fc04efdd1baf01d375d4bac614abc61.zip
Everywhere: Fix typos
Mostly in comments, but sprintf() now prints "August" instead of "Auguest" so that's something.
Diffstat (limited to 'Libraries/LibJS/Parser.cpp')
-rw-r--r--Libraries/LibJS/Parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibJS/Parser.cpp b/Libraries/LibJS/Parser.cpp
index 3448a197b5..6de165e6f4 100644
--- a/Libraries/LibJS/Parser.cpp
+++ b/Libraries/LibJS/Parser.cpp
@@ -1757,7 +1757,7 @@ void Parser::consume_or_insert_semicolon()
return;
}
// Insert semicolon if...
- // ...token is preceeded by one or more newlines
+ // ...token is preceded by one or more newlines
if (m_parser_state.m_current_token.trivia().contains('\n'))
return;
// ...token is a closing curly brace