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 #13 from Dakta/gcc-extension
Browse files Browse the repository at this point in the history
Adds GCC Extension Binary Literals
  • Loading branch information
abusalimov committed Mar 11, 2015
2 parents fc3b7c2 + 15a5a17 commit 90fb1c8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions C Improved.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -1204,6 +1204,20 @@
<key>1</key> <dict> <key>name</key> <string>constant.numeric.float.c</string> </dict>
</dict>
</dict>
<dict>
<key>match</key> <string>\s*(\b(?i:(0b[01]+)U?L{1,2})\b)</string>
<key>captures</key>
<dict>
<key>1</key> <dict> <key>name</key> <string>constant.numeric.integer.long.binary.c</string> </dict>
</dict>
</dict>
<dict>
<key>match</key> <string>\s*(\b(?i:(0b[01]+)U?)\b)</string>
<key>captures</key>
<dict>
<key>1</key> <dict> <key>name</key> <string>constant.numeric.integer.binary.c</string> </dict>
</dict>
</dict>
</array>
</dict>
<key>lex-string</key>
Expand Down

0 comments on commit 90fb1c8

Please sign in to comment.