From 34b7533d86b903b3fa7b214a5590c7bb0ce8cff8 Mon Sep 17 00:00:00 2001 From: Adrien Guatto Date: Thu, 19 Aug 2010 11:55:36 +0200 Subject: [PATCH] Syntax highlighter: << and >> --- tools/hept_pygments/hept_pygments/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/hept_pygments/hept_pygments/__init__.py b/tools/hept_pygments/hept_pygments/__init__.py index ec20bbd..1ed2369 100644 --- a/tools/hept_pygments/hept_pygments/__init__.py +++ b/tools/hept_pygments/hept_pygments/__init__.py @@ -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)