diff options
author | Andreas Kling <kling@serenityos.org> | 2021-06-26 16:25:11 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-26 16:25:11 +0200 |
commit | 527c639c1f60ed562bb274de3714d72ec74e5c9d (patch) | |
tree | 1ec0923810c918d724e9da728634fb1154485d01 /Userland/Libraries | |
parent | f3197faf393a1971db3bf62bc04db19d8b98f922 (diff) | |
download | serenity-527c639c1f60ed562bb274de3714d72ec74e5c9d.zip |
LibJS: Fix spelling mistake in one of the syntax error descriptions
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibJS/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Parser.cpp b/Userland/Libraries/LibJS/Parser.cpp index 50b1e1cc80..d0b0ba7ac0 100644 --- a/Userland/Libraries/LibJS/Parser.cpp +++ b/Userland/Libraries/LibJS/Parser.cpp @@ -1667,7 +1667,7 @@ NonnullRefPtr<VariableDeclaration> Parser::parse_variable_declaration(bool for_l } if (target.has<Empty>()) { - syntax_error("Expected an identifer or a binding pattern"); + syntax_error("Expected an identifier or a binding pattern"); if (match(TokenType::Comma)) { consume(); continue; |