comparison src/eval.c @ 10540:ea7fbae33285 v8.0.0160

patch 8.0.0160: EMSG() is sometimes used where it should be IEMSG() commit https://github.com/vim/vim/commit/de33011ec623fd562419dede6bf465b5b9881a20 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 8 20:50:52 2017 +0100 patch 8.0.0160: EMSG() is sometimes used where it should be IEMSG() Problem: EMSG() is sometimes used for internal errors. Solution: Change them to IEMSG(). (Dominique Pelle) And a few more.
author Christian Brabandt <cb@256bit.org>
date Sun, 08 Jan 2017 21:00:05 +0100
parents 6ddf322ff7cf
children 82c2c450dad0
comparison
equal deleted inserted replaced
10539:b7add90fec60 10540:ea7fbae33285
268 for (i = 0; i < VV_LEN; ++i) 268 for (i = 0; i < VV_LEN; ++i)
269 { 269 {
270 p = &vimvars[i]; 270 p = &vimvars[i];
271 if (STRLEN(p->vv_name) > 16) 271 if (STRLEN(p->vv_name) > 16)
272 { 272 {
273 EMSG("INTERNAL: name too long, increase size of dictitem16_T"); 273 IEMSG("INTERNAL: name too long, increase size of dictitem16_T");
274 getout(1); 274 getout(1);
275 } 275 }
276 STRCPY(p->vv_di.di_key, p->vv_name); 276 STRCPY(p->vv_di.di_key, p->vv_name);
277 if (p->vv_flags & VV_RO) 277 if (p->vv_flags & VV_RO)
278 p->vv_di.di_flags = DI_FLAGS_RO | DI_FLAGS_FIX; 278 p->vv_di.di_flags = DI_FLAGS_RO | DI_FLAGS_FIX;