]> git.mdlowis.com Git - projs/tide.git/commitdiff
Added some missing keywords to C rules
authorMichael D. Lowis <mike.lowis@gentex.com>
Wed, 28 Jun 2017 18:09:35 +0000 (14:09 -0400)
committerMichael D. Lowis <mike.lowis@gentex.com>
Wed, 28 Jun 2017 18:09:35 +0000 (14:09 -0400)
tide-hl.rb

index 08d81f792e0bbea292aab663edaf19b468dc1911..a7025d40c40a50cba1b6c8d6192a1eba9d3b6c5f 100755 (executable)
@@ -109,12 +109,12 @@ languages({
 language "C" do
   types = Set.new %w[
     bool short int long unsigned signed char size_t
-    void extern static inline struct typedef union volatile
+    void extern static inline struct typedef union volatile auto const
     int8_t int16_t int32_t int64_t uint8_t uint16_t uint32_t uint64_t
   ]
 
   keywords = Set.new %w[
-    goto break return continue asm case default if else switch while for do
+    goto break return continue asm case default if else switch while for do sizeof
   ]
 
   constants = Set.new %w[