fix matchcompiler.py

This commit is contained in:
Daniel Marjamäki 2017-06-05 13:41:38 +02:00
parent 3dc4188292
commit fc79941828
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ class MatchCompiler:
ret += ' ' + returnStatement ret += ' ' + returnStatement
# a|b|c # a|b|c
elif '|' in tok: elif tok.find('|') > 0:
tokens2 = tok.split('|') tokens2 = tok.split('|')
logicalOp = ' || ' logicalOp = ' || '
if "" in tokens2: if "" in tokens2: