diff options
author | Gaurav Jain <gaurav@gauravjain.org> | 2014-04-22 18:12:06 -0400 |
---|---|---|
committer | Gaurav Jain <gaurav@gauravjain.org> | 2014-04-22 18:12:06 -0400 |
commit | ccaec07295a4943bf26ee10fc4d16b143ca18183 (patch) | |
tree | cccb152c6dadb0a700b43cb8259ec14e431bad5c /pygments/lexers/compiled.py | |
parent | b4da2e6623d47c492213208788bba615a73b0df6 (diff) | |
download | pygments-ccaec07295a4943bf26ee10fc4d16b143ca18183.tar.gz |
Add some Carbon builtins
Diffstat (limited to 'pygments/lexers/compiled.py')
-rw-r--r-- | pygments/lexers/compiled.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pygments/lexers/compiled.py b/pygments/lexers/compiled.py index dc4214d1..3b73a219 100644 --- a/pygments/lexers/compiled.py +++ b/pygments/lexers/compiled.py @@ -1401,6 +1401,10 @@ def objective(baselexer): Keyword.Type), (r'@(true|false|YES|NO)\n', Name.Builtin), (r'(YES|NO|nil|self|super)\b', Name.Builtin), + # Carbon types + (r'(Boolean|UInt8|SInt8|UInt16|SInt16|UInt32|SInt32)\b', Keyword.Type), + # Carbon built-ins + (r'@(TRUE|FALSE)\n', Name.Builtin), (r'(@interface|@implementation)(\s+)', bygroups(Keyword, Text), ('#pop', 'oc_classname')), (r'(@class|@protocol)(\s+)', bygroups(Keyword, Text), |