Lines Matching refs:mesg
145 char_u *mesg, in cause_errthrow() argument
194 if (mesg == (char_u *)_(e_interr)) in cause_errthrow()
262 elem->msg = (char *)vim_strsave(mesg); in cause_errthrow()
431 char *mesg; in get_exception_string() local
438 mesg = ((msglist_T *)value)->throw_msg; in get_exception_string()
443 4 + cmdlen + 2 + STRLEN(mesg)); in get_exception_string()
452 ret = (char *)vim_strnsave((char_u *)"Vim:", 4 + STRLEN(mesg)); in get_exception_string()
461 for (p = mesg; ; p++) in get_exception_string()
472 if (*p == NUL || p == mesg) in get_exception_string()
473 STRCAT(val, mesg); // 'E123' missing or at beginning in get_exception_string()
477 if (mesg[0] != '"' || p-2 < &mesg[1] || in get_exception_string()
484 sprintf((char *)(val + STRLEN(p)), " (%s)", &mesg[1]); in get_exception_string()
767 char *mesg; in report_pending() local
775 mesg = _("%s made pending"); in report_pending()
778 mesg = _("%s resumed"); in report_pending()
782 mesg = _("%s discarded"); in report_pending()
808 vim_snprintf((char *)IObuff, IOSIZE, mesg, _("Exception")); in report_pending()
809 mesg = (char *)vim_strnsave(IObuff, STRLEN(IObuff) + 4); in report_pending()
810 STRCAT(mesg, ": %s"); in report_pending()
826 smsg(mesg, s); in report_pending()
836 vim_free(mesg); in report_pending()