Syntax highlighter: << and >>
This commit is contained in:
parent
4c909ee39d
commit
34b7533d86
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ class HeptagonLexer(RegexLexer):
|
|||
(r'pre|\-\>|\+|\-|\/|=|&|not|\*|<=|>=|\^', Operator),
|
||||
(r'\d+', Number.Integer),
|
||||
(r' |\t', Whitespace),
|
||||
(r'\(|\)|;|\||:|,|\]|\[|\.|<|>', Punctuation),
|
||||
(r'\(|\)|;|\||:|,|\]|\[|\.|<|>|<<|>>', Punctuation),
|
||||
(r'true|false', Literal),
|
||||
(r'[A-Z]\w*', String.Symbol),
|
||||
(r'\w+', Name)
|
||||
|
@ -47,7 +47,7 @@ class MLSLexer(RegexLexer):
|
|||
(r'pre|\-\>|\+|\-|\/|=|&|not|\*|<=|>=|\^', Operator),
|
||||
(r'\d+', Number.Integer),
|
||||
(r' |\t', Whitespace),
|
||||
(r'\(|\)|;|\||:|,|\]|\[|\.', Punctuation),
|
||||
(r'\(|\)|;|\||:|,|\]|\[|\.|<<|>>', Punctuation),
|
||||
(r'true|false', Literal),
|
||||
(r'[A-Z]\w*', String.Symbol),
|
||||
(r'\w+', Name)
|
||||
|
|
Loading…
Reference in a new issue