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/syntax.c | |
parent | f3d769a585040ac47f7054057758809024ef6377 (diff) | |
download | vim-git-76301956f0c079d893cfd927b11456328bed4f9b.tar.gz |
patch 8.0.1134: superfluous call to syn_get_final_id()v8.0.1134
Problem: Superfluous call to syn_get_final_id().
Solution: Remove it. (Ken Takata)
Diffstat (limited to 'src/syntax.c')
-rw-r--r-- | src/syntax.c | 2 |
1 files changed, 1 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; } |