comparison src/globals.h @ 20538:9f921ba86d05 v8.2.0823

patch 8.2.0823: Vim9: script reload test is disabled Commit: https://github.com/vim/vim/commit/25e0f5863e9010a75a1ff0d04e8f886403968755 Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 25 22:36:50 2020 +0200 patch 8.2.0823: Vim9: script reload test is disabled Problem: Vim9: script reload test is disabled. Solution: Compile a function in the context of the script where it was defined. Set execution stack for compiled function. Add a test that an error is reported for the right file/function.
author Bram Moolenaar <Bram@vim.org>
date Mon, 25 May 2020 22:45:03 +0200
parents bed30e6b5a09
children 5995db0fe84a
comparison
equal deleted inserted replaced
20537:cceaa5ec43aa 20538:9f921ba86d05
342 * the "throw_msg" field of the first element in the list. It is usually the 342 * the "throw_msg" field of the first element in the list. It is usually the
343 * same as the "msg" field of that element, but can be identical to the "msg" 343 * same as the "msg" field of that element, but can be identical to the "msg"
344 * field of a later list element, when the "emsg_severe" flag was set when the 344 * field of a later list element, when the "emsg_severe" flag was set when the
345 * emsg() call was made. 345 * emsg() call was made.
346 */ 346 */
347 EXTERN struct msglist **msg_list INIT(= NULL); 347 EXTERN msglist_T **msg_list INIT(= NULL);
348 348
349 /* 349 /*
350 * suppress_errthrow: When TRUE, don't convert an error to an exception. Used 350 * suppress_errthrow: When TRUE, don't convert an error to an exception. Used
351 * when displaying the interrupt message or reporting an exception that is still 351 * when displaying the interrupt message or reporting an exception that is still
352 * uncaught at the top level (which has already been discarded then). Also used 352 * uncaught at the top level (which has already been discarded then). Also used