summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCpp/Parser.cpp
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-11-27 15:17:39 -0800
committerBrian Gianforcaro <b.gianfo@gmail.com>2021-11-29 14:19:31 -0800
commita225b26d88636b29faae6ed636103f0680f2f2f1 (patch)
tree96b487dac280f0efb30c8a4c8cfc6505e65a6d1b /Userland/Libraries/LibCpp/Parser.cpp
parent61e4c09514cce5599bd655ab7436044c2713fa50 (diff)
downloadserenity-a225b26d88636b29faae6ed636103f0680f2f2f1.zip
LibCpp: Fix copy paste typo in Parser::match_secondary_expression
This was caught by SonarCloud.
Diffstat (limited to 'Userland/Libraries/LibCpp/Parser.cpp')
-rw-r--r--Userland/Libraries/LibCpp/Parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCpp/Parser.cpp b/Userland/Libraries/LibCpp/Parser.cpp
index 439fb79d9a..ef814cca84 100644
--- a/Userland/Libraries/LibCpp/Parser.cpp
+++ b/Userland/Libraries/LibCpp/Parser.cpp
@@ -377,7 +377,7 @@ bool Parser::match_secondary_expression()
|| type == Token::Type::PercentEquals
|| type == Token::Type::Equals
|| type == Token::Type::Greater
- || type == Token::Type::Greater
+ || type == Token::Type::GreaterEquals
|| type == Token::Type::Less
|| type == Token::Type::LessEquals
|| type == Token::Type::Dot