summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthatch <devnull@localhost>2008-12-31 12:40:46 -0600
committerthatch <devnull@localhost>2008-12-31 12:40:46 -0600
commit84e92b9f359907ee866bf45fd54a1e3c440d2ed2 (patch)
treec87973b9eea49ae0f224504552c912834006faf3
parentbdc5e19b55959cba4c0af399971e18694bf784cb (diff)
downloadpygments-84e92b9f359907ee866bf45fd54a1e3c440d2ed2.tar.gz
analyse_text for S
-rw-r--r--pygments/lexers/math.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pygments/lexers/math.py b/pygments/lexers/math.py
index 3fb64888..151c872f 100644
--- a/pygments/lexers/math.py
+++ b/pygments/lexers/math.py
@@ -409,3 +409,6 @@ class SLexer(RegexLexer):
(r'[^\"]*\"', String, '#pop'),
],
}
+
+ def analyse_text(text):
+ return '<-' in text