From fc79941828a66ce4d891253eae007d8fa456a8a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 5 Jun 2017 13:41:38 +0200 Subject: [PATCH] fix matchcompiler.py --- tools/matchcompiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/matchcompiler.py b/tools/matchcompiler.py index 32e7fb46c..6dd76e74e 100755 --- a/tools/matchcompiler.py +++ b/tools/matchcompiler.py @@ -160,7 +160,7 @@ class MatchCompiler: ret += ' ' + returnStatement # a|b|c - elif '|' in tok: + elif tok.find('|') > 0: tokens2 = tok.split('|') logicalOp = ' || ' if "" in tokens2: