diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-09-22 13:53:37 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-09-22 13:53:37 +0200 |
commit | 76301956f0c079d893cfd927b11456328bed4f9b (patch) | |
tree | eeff6af9158367415d9691dbef97a6fcea79dd83 /src | |
parent | f3d769a585040ac47f7054057758809024ef6377 (diff) | |
download | vim-76301956f0c079d893cfd927b11456328bed4f9b.zip |
patch 8.0.1134: superfluous call to syn_get_final_id()
Problem: Superfluous call to syn_get_final_id().
Solution: Remove it. (Ken Takata)
Diffstat (limited to 'src')
-rw-r--r-- | src/syntax.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c index d9a7b4fd8..e0736cb63 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -9556,7 +9556,7 @@ syn_name2attr(char_u *name) int id = syn_name2id(name); if (id != 0) - return syn_id2attr(syn_get_final_id(id)); + return syn_id2attr(id); return 0; } diff --git a/src/version.c b/src/version.c index 8901bb596..044b98c9c 100644 --- a/src/version.c +++ b/src/version.c @@ -762,6 +762,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1134, +/**/ 1133, /**/ 1132, |