def p_expression_cond(self, p):
        'expression : expression COND expression COLON expression'
        p[0] = Cond(p[1], p[3], p[5], lineno=p.lineno(1))
        p.set_lineno(0, p.lineno(1))
def p_expression_cond ( self , p ) : p [ 0 ] = Cond ( p [ 1 ] , p [ 3 ] , p [ 5 ] , lineno = p . lineno ( 1 ) ) p . set_lineno ( 0 , p . lineno ( 1 ) )
expression : expression COND expression COLON expression