Commits

Georg Brandl committed 0739d08

Add author entry and changelog entry for Octave.

Comments (0)

Files changed (3)

 * Matthew Harrison -- SVG formatter
 * Steven Hazel -- Tcl lexer
 * Aslak Hellesøy -- Gherkin lexer
+* Jordi Gutiérrez Hermoso -- Octave lexer
 * David Hess, Fish Software, Inc. -- Objective-J lexer
 * Varun Hiremath -- Debian control lexer
 * Ben Hollis -- Mason lexer
   * PostgreSQL (#660)
   * DTD
   * Gosu
+  * Octave (PR#22)
 
 - In the LaTeX formatter, escape special &, < and > chars (#648).
 

pygments/lexers/math.py

             return 0.9
         return 0.1
 
+
 line_re  = re.compile('.*?\n')
 
 class MatlabSessionLexer(Lexer):
                 insertions, mlexer.get_tokens_unprocessed(curcode)):
                 yield item
 
+
 class OctaveLexer(RegexLexer):
     """
     For GNU Octave source code.
-    Contributed by Jordi Gutiérrez Hermoso <jordigh@gmail.com>.
-    Modeled on MatlabLexer
 
-    .. versionadded:: 1.5
+    *New in Pygments 1.5.*
     """
     name = 'Octave'
     aliases = ['octave']
 
 
 class NumPyLexer(PythonLexer):
-    '''
+    """
     A Python lexer recognizing Numerical Python builtins.
 
     *New in Pygments 0.10.*
-    '''
+    """
 
     name = 'NumPy'
     aliases = ['numpy']