Skip to content

Commit c59f47c

Browse files
Update token.cpp
1 parent 72ac4fc commit c59f47c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/token.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ int multiCompareImpl(const Token *tok, const char *haystack, nonneg int varid)
554554
const char *needle = tok->str().c_str();
555555
const char *needlePointer = needle;
556556
for (;;) {
557-
if (needlePointer == needle && haystack[0] == '%' && haystack[1] != '|' && haystack[1] != '\0' && haystack[1] != ' ') {
557+
if (needlePointer == needle && haystack[0] == '%' && haystack[1] != '|' && haystack[1] != '\0' && haystack[1] != ' ' && haystack[1] != '=') {
558558
const int ret = multiComparePercent(tok, haystack, varid);
559559
if (ret < 2)
560560
return ret;

0 commit comments

Comments
 (0)