ThirdParty/Pygments/pygments/lexers/parasail.py

changeset 5713
6762afd9f963
parent 4697
c2e9bf425554
equal deleted inserted replaced
5712:f0d08bdeacf4 5713:6762afd9f963
3 pygments.lexers.parasail 3 pygments.lexers.parasail
4 ~~~~~~~~~~~~~~~~~~~~~~~~ 4 ~~~~~~~~~~~~~~~~~~~~~~~~
5 5
6 Lexer for ParaSail. 6 Lexer for ParaSail.
7 7
8 :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 8 :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9 :license: BSD, see LICENSE for details. 9 :license: BSD, see LICENSE for details.
10 """ 10 """
11 11
12 import re 12 import re
13 13
58 include('numbers'), 58 include('numbers'),
59 (r"'[^']'", String.Char), 59 (r"'[^']'", String.Char),
60 (r'[a-zA-Z]\w*', Name), 60 (r'[a-zA-Z]\w*', Name),
61 # Operators and Punctuation 61 # Operators and Punctuation
62 (r'(<==|==>|<=>|\*\*=|<\|=|<<=|>>=|==|!=|=\?|<=|>=|' 62 (r'(<==|==>|<=>|\*\*=|<\|=|<<=|>>=|==|!=|=\?|<=|>=|'
63 r'\*\*|<<|>>|=>|:=|\+=|-=|\*=|\||\|=|/=|\+|-|\*|/|' 63 r'\*\*|<<|>>|=>|:=|\+=|-=|\*=|\|=|\||/=|\+|-|\*|/|'
64 r'\.\.|<\.\.|\.\.<|<\.\.<)', 64 r'\.\.|<\.\.|\.\.<|<\.\.<)',
65 Operator), 65 Operator),
66 (r'(<|>|\[|\]|\(|\)|\||:|;|,|.|\{|\}|->)', 66 (r'(<|>|\[|\]|\(|\)|\||:|;|,|.|\{|\}|->)',
67 Punctuation), 67 Punctuation),
68 (r'\n+', Text), 68 (r'\n+', Text),

eric ide

mercurial