fix matchcompiler.py
This commit is contained in:
parent
3dc4188292
commit
fc79941828
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue