diff --git a/tools/matchcompiler.py b/tools/matchcompiler.py index 38d53d1bc..f9c0a71cd 100755 --- a/tools/matchcompiler.py +++ b/tools/matchcompiler.py @@ -157,7 +157,7 @@ class MatchCompiler: ret += ' ' + returnStatement # a|b|c - elif tok.find('|') > 0: + elif tok.find('|') >= 0 and tok != '||' and tok != '|' and tok != '|=': tokens2 = tok.split('|') logicalOp = None neg = None