sb/config.py: Fix relational operator

Close #4319
This commit is contained in:
Vijay Kumar Banerjee
2021-03-09 11:10:21 -07:00
parent 47d540e7f9
commit 2f9a68bfb1

View File

@@ -989,7 +989,7 @@ class file:
else:
self._error('invalid if bool operator: ' + reduce(add, ls, ''))
else:
if len(ifls) > 3:
if len(ifls) >= 3:
for op in ['==', '!=', '>=', '=>', '=<', '<=', '>', '<']:
ops = s.split(op)
if len(ops) == 2: