Replace bool with b1, b8, b16, ...
The b1 type is an abstract boolean value. The others are concrete representations.
This commit is contained in:
@@ -30,7 +30,7 @@ class CretonneLexer(RegexLexer):
|
||||
# Known attributes.
|
||||
(keywords('align', 'aligntrap', 'uext', 'sext', 'inreg'), Name.Attribute),
|
||||
# Well known value types.
|
||||
(r'\b(bool|i\d+|f32|f64)(x\d+)?\b', Keyword.Type),
|
||||
(r'\b(b\d+|i\d+|f32|f64)(x\d+)?\b', Keyword.Type),
|
||||
# v<nn> = value
|
||||
# ss<nn> = stack slot
|
||||
(r'(v|ss)\d+', Name.Variable),
|
||||
|
||||
Reference in New Issue
Block a user