[gtksourceview] cmake.lang: remove the "builtin-variable-2" context



commit 2c638461e8a36c1105b1b39404209371bb2459cc
Author: Роман Донченко <dpb corrigendum ru>
Date:   Sun Nov 12 17:07:06 2017 +0300

    cmake.lang: remove the "builtin-variable-2" context
    
    LOCATION is a target property, while the rest of the keywords in it are
    keywords used by the add_custom_command command. Not only are these keywords
    selected seemingly arbitrarily, but none of them are builtin variables,
    so there's no reason for them to be given the "builtin-variable" style.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=790345

 data/language-specs/cmake.lang |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/data/language-specs/cmake.lang b/data/language-specs/cmake.lang
index 083db8a..a95c673 100644
--- a/data/language-specs/cmake.lang
+++ b/data/language-specs/cmake.lang
@@ -638,14 +638,6 @@
       <keyword>XCODE_VERSION</keyword>
     </context>
 
-    <context id="builtin-variable-2" style-ref="builtin-variable">
-      <keyword>LOCATION</keyword>
-      <keyword>TARGET</keyword>
-      <keyword>POST_BUILD</keyword>
-      <keyword>PRE_BUILD</keyword>
-      <keyword>ARGS</keyword>
-    </context>
-
     <context id="operator" style-ref="operator">
       <keyword>AND</keyword>
       <keyword>COMMAND</keyword>
@@ -697,7 +689,6 @@
       <end>\}</end>
       <include>
         <context ref="builtin-variable"/>
-        <context ref="builtin-variable-2"/>
       </include>
     </context>
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]