Check for brackets { }
if ( st [ i ] == ' { ' and st [ j ] == ' } ' ) : NEW_LINE INDENT return 1 NEW_LINE DEDENT if ( st [ i ] == ' { ' and st [ j ] == ' ? ' ) : NEW_LINE INDENT return 1 NEW_LINE DEDENT if ( st [ i ] == ' ? ' and st [ j ] == ' } ' ) : NEW_LINE INDENT return 1 NEW_LINE DEDENT return 0 NEW_LINE