diff options
author | Georg Brandl <georg@python.org> | 2014-01-09 17:11:56 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-01-09 17:11:56 +0100 |
commit | 8f1d30b59f7720cf99ed508ac720eb7126161e2b (patch) | |
tree | 5b2c4c563734e6e2f5cfb14f3b6c3b80db7faf7e | |
parent | 892bb0777e85b06f2cb50d1a1e6a7c705006399b (diff) | |
download | pygments-8f1d30b59f7720cf99ed508ac720eb7126161e2b.tar.gz |
pike: consistency updates
-rw-r--r-- | AUTHORS | 4 | ||||
-rw-r--r-- | CHANGES | 1 | ||||
-rw-r--r-- | pygments/lexers/compiled.py | 2 |
3 files changed, 5 insertions, 2 deletions
@@ -28,8 +28,8 @@ Other contributors, listed alphabetically, are: * Hiram Chirino -- Scaml and Jade lexers * Ian Cooper -- VGL lexer * Leaf Corcoran -- MoonScript lexer -* Christian Jann -- ShellSession lexer * Christopher Creutzig -- MuPAD lexer +* Daniël W. Crompton - Pike lexer * Pete Curry -- bugfixes * Bryan Davis -- EBNF lexer * Owen Durni -- Haxe lexer @@ -68,6 +68,7 @@ Other contributors, listed alphabetically, are: * Tim Howard -- BlitzMax lexer * Ivan Inozemtsev -- Fantom lexer * Brian R. Jackson -- Tea lexer +* Christian Jann -- ShellSession lexer * Dennis Kaarsemaker -- sources.list lexer * Igor Kalnitsky -- vhdl lexer * Pekka Klärck -- Robot Framework lexer @@ -151,6 +152,5 @@ Other contributors, listed alphabetically, are: * Diego Zamboni -- CFengine3 lexer * Enrique Zamudio -- Ceylon lexer * Alex Zimin -- Nemerle lexer -* Daniël W. Crompton - Pike lexer Many thanks for all contributions! @@ -25,6 +25,7 @@ Version 1.7 * Agda and Literate Agda (PR#203) * Mathematica (PR#245) * Nix (PR#267) + * Pike (PR#237) - Pygments will now recognize "vim" modelines when guessing the lexer for a file based on content (PR#118). diff --git a/pygments/lexers/compiled.py b/pygments/lexers/compiled.py index 6b4362dc..6dc3ea84 100644 --- a/pygments/lexers/compiled.py +++ b/pygments/lexers/compiled.py @@ -231,6 +231,7 @@ class CppLexer(CFamilyLexer): def analyse_text(text): return 0.1 + class PikeLexer(CppLexer): """ For `Pike <http://pike.lysator.liu.se/>`_ source code. @@ -269,6 +270,7 @@ class PikeLexer(CppLexer): ], } + class SwigLexer(CppLexer): """ For `SWIG <http://www.swig.org/>`_ source code. |