comparison src/vim9compile.c @ 25658:483b40e87ca5 v8.2.3365

patch 8.2.3365: Vim9: cannot use option for all operations Commit: https://github.com/vim/vim/commit/bf5f2878333da934a8bdc560bf0bcf9a88ff86a1 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 21 20:50:35 2021 +0200 patch 8.2.3365: Vim9: cannot use option for all operations Problem: Vim9: cannot use option for all operations. Solution: Recognize more operations. (closes https://github.com/vim/vim/issues/8779)
author Bram Moolenaar <Bram@vim.org>
date Sat, 21 Aug 2021 21:00:03 +0200
parents fe7f45e2895e
children 7b80b25a5c2b
comparison
equal deleted inserted replaced
25657:26c53bca9f23 25658:483b40e87ca5
3577 * does not recognize magic braces. 3577 * does not recognize magic braces.
3578 * When "use_namespace" is TRUE recognize "b:", "s:", etc. 3578 * When "use_namespace" is TRUE recognize "b:", "s:", etc.
3579 * Return a pointer to just after the name. Equal to "arg" if there is no 3579 * Return a pointer to just after the name. Equal to "arg" if there is no
3580 * valid name. 3580 * valid name.
3581 */ 3581 */
3582 static char_u * 3582 char_u *
3583 to_name_end(char_u *arg, int use_namespace) 3583 to_name_end(char_u *arg, int use_namespace)
3584 { 3584 {
3585 char_u *p; 3585 char_u *p;
3586 3586
3587 // Quick check for valid starting character. 3587 // Quick check for valid starting character.