Skip to content

Commit

Permalink
tp: Fix chromium build failure
Browse files Browse the repository at this point in the history
Incorrect operator was used triggering an autoroll failure with
the chromium project.

Caused by ed80e4c.

Bug: 296388363
Change-Id: I2b76a5e4ad1b51a2402e6e93797cc41ca1f64008
  • Loading branch information
dtapuska committed Aug 30, 2023
1 parent baa92db commit 3a2627c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ bool TokenIsCustomKeyword(std::string_view keyword, SqliteTokenizer::Token t) {

bool IsValidModuleWord(const std::string& word) {
for (const char& c : word) {
if (!std::isalnum(c) & (c != '_') & !std::islower(c)) {
if (!std::isalnum(c) && (c != '_') && !std::islower(c)) {
return false;
}
}
Expand Down

0 comments on commit 3a2627c

Please sign in to comment.