Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #33 from abusalimov/fix-cplusplus-keywords
Browse files Browse the repository at this point in the history
Include $base grammar from inside {...} blocks and (...) parens
  • Loading branch information
abusalimov committed Jan 6, 2016
2 parents 3f4fd9c + 4492e45 commit aa80af9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions C Improved.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
<dict> <key>include</key> <string>#support</string> </dict>

<dict> <key>include</key> <string>#block</string> </dict>
<dict> <key>include</key> <string>#parens</string> </dict>
</array>
</dict>
<key>special_block</key>
Expand All @@ -76,7 +77,7 @@
<key>name</key> <string>meta.block.special.c</string>
<key>patterns</key>
<array>
<dict> <key>include</key> <string>#translation_unit</string> </dict>
<dict> <key>include</key> <string>$base</string> </dict>
</array>
</dict>
</array>
Expand Down Expand Up @@ -111,8 +112,7 @@

<dict> <key>include</key> <string>#function</string> </dict>

<dict> <key>include</key> <string>#parens</string> </dict>
<dict> <key>include</key> <string>#block</string> </dict>
<dict> <key>include</key> <string>$base</string> </dict>
</array>
</dict>
<key>parens</key>
Expand All @@ -138,8 +138,7 @@
<dict> <key>include</key> <string>#call</string> </dict>
<dict> <key>include</key> <string>#support</string> </dict>

<dict> <key>include</key> <string>#block</string> </dict>
<dict> <key>include</key> <string>#parens</string> </dict>
<dict> <key>include</key> <string>$base</string> </dict>
</array>
</dict>

Expand Down

0 comments on commit aa80af9

Please sign in to comment.