ThirdParty/Pygments/pygments/lexers/chapel.py

changeset 5072
aab59042fefb
parent 4697
c2e9bf425554
child 5713
6762afd9f963
equal deleted inserted replaced
5070:4e4651e88674 5072:aab59042fefb
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', 'atomic', 'begin', 'break', 'by', 'cobegin', 'coforall', 45 'align', 'atomic', 'begin', 'break', 'by', 'cobegin', 'coforall',
46 'continue', 'delete', 'dmapped', 'do', 'domain', 'else', 'enum', 46 'continue', 'delete', 'dmapped', 'do', 'domain', 'else', 'enum',
47 'export', 'extern', 'for', 'forall', 'if', 'index', 'inline', 47 'except', 'export', 'extern', 'for', 'forall', 'if', 'index',
48 'iter', 'label', 'lambda', 'let', 'local', 'new', 'noinit', 'on', 48 'inline', 'iter', 'label', 'lambda', 'let', 'local', 'new',
49 'otherwise', 'pragma', 'private', 'public', 'reduce', 49 'noinit', 'on', 'only', 'otherwise', 'pragma', 'private',
50 'require', 'return', 'scan', 'select', 'serial', 'single', 50 'public', 'reduce', 'require', 'return', 'scan', 'select',
51 'sparse', 'subdomain', 'sync', 'then', 'use', 'when', 'where', 51 'serial', 'single', 'sparse', 'subdomain', 'sync', 'then',
52 'while', 'with', 'yield', 'zip'), suffix=r'\b'), 52 'use', 'when', 'where', 'while', 'with', 'yield', 'zip'),
53 suffix=r'\b'),
53 Keyword), 54 Keyword),
54 (r'(proc)((?:\s|\\\s)+)', bygroups(Keyword, Text), 'procname'), 55 (r'(proc)((?:\s|\\\s)+)', bygroups(Keyword, Text), 'procname'),
55 (r'(class|module|record|union)(\s+)', bygroups(Keyword, Text), 56 (r'(class|module|record|union)(\s+)', bygroups(Keyword, Text),
56 'classname'), 57 'classname'),
57 58

eric ide

mercurial