def p_print_list_expr(p):
    """ print_elem : expr
                   | print_at
                   | print_tab
                   | attr
                   | BOLD expr
                   | ITALIC expr
    """
    if p[1] in ('BOLD', 'ITALIC'):
        p[0] = make_sentence(p[1] + '_TMP',
                             make_typecast(TYPE.ubyte, p[2], p.lineno(1)))
    else:
        p[0] = p[1]
def p_print_list_expr ( p ) : if p [ 1 ] in ( 'BOLD' , 'ITALIC' ) : p [ 0 ] = make_sentence ( p [ 1 ] + '_TMP' , make_typecast ( TYPE . ubyte , p [ 2 ] , p . lineno ( 1 ) ) ) else : p [ 0 ] = p [ 1 ]
print_elem : expr
                   | print_at
                   | print_tab
                   | attr
                   | BOLD expr
                   | ITALIC expr