vim-patch:8.0.0075

Problem:    Using number for exception type lacks type checking.
Solution:   Use an enum.

8a5883b748
This commit is contained in:
Jurica Bradaric
2017-07-25 18:53:47 +02:00
parent 5a0acd09c1
commit 09470eb673
4 changed files with 23 additions and 27 deletions

View File

@@ -844,8 +844,6 @@ int do_cmdline(char_u *cmdline, LineGetter fgetline,
break;
case ET_INTERRUPT:
break;
default:
p = vim_strsave((char_u *)_(e_internal));
}
saved_sourcing_name = sourcing_name;