40 Keyword.Declaration), |
40 Keyword.Declaration), |
41 (r'(false|nil|true)\b', Keyword.Constant), |
41 (r'(false|nil|true)\b', Keyword.Constant), |
42 (r'(bool|complex|imag|int|opaque|range|real|string|uint)\b', |
42 (r'(bool|complex|imag|int|opaque|range|real|string|uint)\b', |
43 Keyword.Type), |
43 Keyword.Type), |
44 (words(( |
44 (words(( |
45 'align', 'as', 'atomic', 'begin', 'break', 'by', 'cobegin', |
45 'align', 'as', 'atomic', |
46 'coforall', 'continue', 'delete', 'dmapped', 'do', 'domain', |
46 'begin', 'borrowed', 'break', 'by', |
47 'else', 'enum', 'except', 'export', 'extern', 'for', 'forall', |
47 'catch', 'cobegin', 'coforall', 'continue', |
48 'if', 'index', 'inline', 'iter', 'label', 'lambda', 'let', |
48 'delete', 'dmapped', 'do', 'domain', |
49 'local', 'new', 'noinit', 'on', 'only', 'otherwise', 'pragma', |
49 'else', 'enum', 'except', 'export', 'extern', |
50 'private', 'public', 'reduce', 'require', 'return', 'scan', |
50 'for', 'forall', |
51 'select', 'serial', 'single', 'sparse', 'subdomain', 'sync', |
51 'if', 'index', 'inline', |
52 'then', 'use', 'when', 'where', 'while', 'with', 'yield', |
52 'label', 'lambda', 'let', 'local', |
|
53 'new', 'noinit', |
|
54 'on', 'only', 'otherwise', 'override', 'owned', |
|
55 'pragma', 'private', 'prototype', 'public', |
|
56 'reduce', 'require', 'return', |
|
57 'scan', 'select', 'serial', 'shared', 'single', 'sparse', 'subdomain', 'sync', |
|
58 'then', 'throw', 'throws', 'try', |
|
59 'unmanaged', 'use', |
|
60 'when', 'where', 'while', 'with', |
|
61 'yield', |
53 'zip'), suffix=r'\b'), |
62 'zip'), suffix=r'\b'), |
54 Keyword), |
63 Keyword), |
|
64 (r'(iter)((?:\s)+)', bygroups(Keyword, Text), 'procname'), |
55 (r'(proc)((?:\s)+)', bygroups(Keyword, Text), 'procname'), |
65 (r'(proc)((?:\s)+)', bygroups(Keyword, Text), 'procname'), |
56 (r'(class|module|record|union)(\s+)', bygroups(Keyword, Text), |
66 (r'(class|module|record|union)(\s+)', bygroups(Keyword, Text), |
57 'classname'), |
67 'classname'), |
58 |
68 |
59 # imaginary integers |
69 # imaginary integers |