summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-01-18 09:07:48 +0100
committerGeorg Brandl <georg@python.org>2013-01-18 09:07:48 +0100
commit9c7c4cc064e52e8623766eaeca0cab5f11af9b26 (patch)
treec22983193880764b896c50de02a85f15cb4fe6bf
parent4253dd26e0d259e7df5c541231f0d8cfa614b3be (diff)
downloadpygments-9c7c4cc064e52e8623766eaeca0cab5f11af9b26.tar.gz
Lower default analyse_text result of Octave lexer.
-rw-r--r--pygments/lexers/math.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pygments/lexers/math.py b/pygments/lexers/math.py
index 81d65d99..f4bb1127 100644
--- a/pygments/lexers/math.py
+++ b/pygments/lexers/math.py
@@ -819,8 +819,7 @@ class OctaveLexer(RegexLexer):
def analyse_text(text):
if re.match('^\s*[%#]', text, re.M): #Comment
- return 0.9
- return 0.1
+ return 0.1
class ScilabLexer(RegexLexer):