Fix #7210 (Compiled match versus parsed match "|a|b")

This commit is contained in:
Frank Zingsheim 2015-12-11 20:21:38 +01:00
parent 392cda8bce
commit e0e8c3fe60
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ class MatchCompiler:
ret += ' ' + returnStatement ret += ' ' + returnStatement
# a|b|c # a|b|c
elif tok.find('|') > 0: elif tok.find('|') >= 0 and tok != '||' and tok != '|' and tok != '|=':
tokens2 = tok.split('|') tokens2 = tok.split('|')
logicalOp = None logicalOp = None
neg = None neg = None