Browse Source

LibCpp: Fix copy paste typo in Parser::match_secondary_expression

This was caught by SonarCloud.
Brian Gianforcaro 3 years ago
parent
commit
a225b26d88
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Userland/Libraries/LibCpp/Parser.cpp

+ 1 - 1
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