def updateParenTrailBounds(result):
    line = result['lines'][result['lineNo']]
    prevCh = None
    if 0 > result['x']:
        prevCh = line[result['x'] - 1]
    ch = result['ch']

    shouldReset = (result['isInCode'] and
                   ch != "" and
                   ch not in CLOSE_PARENS and
                   (ch != BLANK_SPACE or prevCh == BACKSLASH) and
                   ch != DOUBLE_SPACE)

    if shouldReset:
        result['parenTrail']['lineNo'] = result['lineNo']
        result['parenTrail']['startX'] = result['x'] + 1
        result['parenTrail']['endX'] = result['x'] + 1
        result['parenTrail']['openers'] = []
        result['maxIndent'] = None
dataset/ETHPy150Open oakmac/sublime-text-parinfer/parinfer.py/updateParenTrailBounds/swapped operands of `>`