comparison src/ex_docmd.c @ 10361:147f45c283e1 v8.0.0075

commit https://github.com/vim/vim/commit/8a5883b7488e492419dde7e1637cc72f2d566ba4 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Nov 10 20:20:05 2016 +0100 patch 8.0.0075 Problem: Using number for exception type lacks type checking. Solution: Use an enum.
author Christian Brabandt <cb@256bit.org>
date Thu, 10 Nov 2016 20:30:04 +0100
parents 59d01e335858
children bd674706408a
comparison
equal deleted inserted replaced
10360:2f43c2755235 10361:147f45c283e1
1386 messages = current_exception->messages; 1386 messages = current_exception->messages;
1387 current_exception->messages = NULL; 1387 current_exception->messages = NULL;
1388 break; 1388 break;
1389 case ET_INTERRUPT: 1389 case ET_INTERRUPT:
1390 break; 1390 break;
1391 default:
1392 p = vim_strsave((char_u *)_(e_internal));
1393 } 1391 }
1394 1392
1395 saved_sourcing_name = sourcing_name; 1393 saved_sourcing_name = sourcing_name;
1396 saved_sourcing_lnum = sourcing_lnum; 1394 saved_sourcing_lnum = sourcing_lnum;
1397 sourcing_name = current_exception->throw_name; 1395 sourcing_name = current_exception->throw_name;