def p_delete_2(p): '''s_delete : DELETE FROM ID WHERE expresion PTCOMA ''' cons = ins.Delete(str(p[3], p[5])) lst_instrucciones.append(cons)
def p_delete(p): '''s_delete : DELETE FROM ID PTCOMA''' cons = ins.Delete(str(p[3], None)) lst_instrucciones.append(cons)