summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-09-22 13:53:37 +0200
committerBram Moolenaar <Bram@vim.org>2017-09-22 13:53:37 +0200
commit76301956f0c079d893cfd927b11456328bed4f9b (patch)
treeeeff6af9158367415d9691dbef97a6fcea79dd83
parentf3d769a585040ac47f7054057758809024ef6377 (diff)
downloadvim-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)
-rw-r--r--src/syntax.c2
-rw-r--r--src/version.c2
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,