]> granicus.if.org Git - vim/commitdiff
patch 8.0.1134: superfluous call to syn_get_final_id() v8.0.1134
authorBram Moolenaar <Bram@vim.org>
Fri, 22 Sep 2017 11:53:37 +0000 (13:53 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 22 Sep 2017 11:53:37 +0000 (13:53 +0200)
Problem:    Superfluous call to syn_get_final_id().
Solution:   Remove it. (Ken Takata)

src/syntax.c
src/version.c

index d9a7b4fd8c74744df99b45d6d31cfdbb9fd7327a..e0736cb63b80880a2630c708264eb99c761af334 100644 (file)
@@ -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;
 }
 
index 8901bb5965cdb90053e623898548d9a828b4585a..044b98c9cbc576582edd386ef3a5f84f45344695 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1134,
 /**/
     1133,
 /**/