Mercurial > vim
comparison src/vim9script.c @ 24888:b6ac4ed5e2d2 v8.2.2982
patch 8.2.2982: Vim9: future commands are not reserved yet
Commit: https://github.com/vim/vim/commit/742357718000927d652b1a98d313a3950571c8ec
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 12 14:53:05 2021 +0200
patch 8.2.2982: Vim9: future commands are not reserved yet
Problem: Vim9: future commands are not reserved yet.
Solution: Add commands to be implemented later. Make "this" a reserved
name.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 12 Jun 2021 15:00:03 +0200 |
parents | bf8feac8a89a |
children | 91f396f149d5 |
comparison
equal
deleted
inserted
replaced
24887:670e100e6be6 | 24888:b6ac4ed5e2d2 |
---|---|
977 // words that cannot be used as a variable | 977 // words that cannot be used as a variable |
978 static char *reserved[] = { | 978 static char *reserved[] = { |
979 "true", | 979 "true", |
980 "false", | 980 "false", |
981 "null", | 981 "null", |
982 "this", | |
982 NULL | 983 NULL |
983 }; | 984 }; |
984 | 985 |
985 int | 986 int |
986 check_reserved_name(char_u *name) | 987 check_reserved_name(char_u *name) |