ThirdParty/Pygments/pygments/lexers/automation.py

changeset 6651
e8f3b5568b21
parent 5713
6762afd9f963
equal deleted inserted replaced
6650:1dd52aa8897c 6651:e8f3b5568b21
29 29
30 tokens = { 30 tokens = {
31 'root': [ 31 'root': [
32 (r'^(\s*)(/\*)', bygroups(Text, Comment.Multiline), 'incomment'), 32 (r'^(\s*)(/\*)', bygroups(Text, Comment.Multiline), 'incomment'),
33 (r'^(\s*)(\()', bygroups(Text, Generic), 'incontinuation'), 33 (r'^(\s*)(\()', bygroups(Text, Generic), 'incontinuation'),
34 (r'\s+;.*?$', Comment.Singleline), 34 (r'\s+;.*?$', Comment.Single),
35 (r'^;.*?$', Comment.Singleline), 35 (r'^;.*?$', Comment.Single),
36 (r'[]{}(),;[]', Punctuation), 36 (r'[]{}(),;[]', Punctuation),
37 (r'(in|is|and|or|not)\b', Operator.Word), 37 (r'(in|is|and|or|not)\b', Operator.Word),
38 (r'\%[a-zA-Z_#@$][\w#@$]*\%', Name.Variable), 38 (r'\%[a-zA-Z_#@$][\w#@$]*\%', Name.Variable),
39 (r'!=|==|:=|\.=|<<|>>|[-~+/*%=<>&^|?:!.]', Operator), 39 (r'!=|==|:=|\.=|<<|>>|[-~+/*%=<>&^|?:!.]', Operator),
40 include('commands'), 40 include('commands'),

eric ide

mercurial