Expand on control flow and direct function calls.

Define the syntax for function signatures.
This commit is contained in:
Jakob Stoklund Olesen
2016-01-22 13:08:18 -08:00
parent 74eb6ce901
commit 43b4f7f4e7
2 changed files with 131 additions and 13 deletions

View File

@@ -28,7 +28,7 @@ class CretonneLexer(RegexLexer):
# Reserved words.
(keywords('function', 'entry'), Keyword),
# Known attributes.
(keywords('align'), Name.Attribute),
(keywords('align', 'uext', 'sext', 'inreg'), Name.Attribute),
# Well known value types.
(r'\b(bool|i\d+|f32|f64)(x\d+)?\b', Keyword.Type),
# v<nn> = value