comparison src/ex_docmd.c @ 31996:ca6bc7c04163 v9.0.1330

patch 9.0.1330: handling new value of an option has a long "else if" chain Commit: https://github.com/vim/vim/commit/af93691b53f38784efce0b93fe7644c44a7e382e Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Mon Feb 20 12:16:39 2023 +0000 patch 9.0.1330: handling new value of an option has a long "else if" chain Problem: Handling new value of an option has a long "else if" chain. Solution: Use a function pointer. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/12015)
author Bram Moolenaar <Bram@vim.org>
date Mon, 20 Feb 2023 13:30:05 +0100
parents 9f1504e36ae9
children 4545f58c8490
comparison
equal deleted inserted replaced
31995:95971aa5e525 31996:ca6bc7c04163
1568 #else 1568 #else
1569 return cookie; 1569 return cookie;
1570 #endif 1570 #endif
1571 } 1571 }
1572 1572
1573 #if defined(FEAT_EVAL) || defined(PROT) 1573 #if defined(FEAT_EVAL) || defined(PROTO)
1574 /* 1574 /*
1575 * Get the next line source line without advancing. 1575 * Get the next line source line without advancing.
1576 */ 1576 */
1577 char_u * 1577 char_u *
1578 getline_peek( 1578 getline_peek(