diff options
author | Matth?us G. Chajdas <dev@anteru.net> | 2019-04-30 17:50:49 +0200 |
---|---|---|
committer | Matth?us G. Chajdas <dev@anteru.net> | 2019-04-30 17:50:49 +0200 |
commit | 601e6e86e45f31e23a7b29e1265d68aeba5e1366 (patch) | |
tree | ed2320eaf1665835b25dc04bb698f6c1a6a224d2 | |
parent | 0b839cf4a0acf37677e7b1a85181a628d9959735 (diff) | |
download | pygments-601e6e86e45f31e23a7b29e1265d68aeba5e1366.tar.gz |
Update CHANGES, language list.
-rw-r--r-- | CHANGES | 2 | ||||
-rw-r--r-- | doc/languages.rst | 2 | ||||
-rw-r--r-- | pygments/lexers/pony.py | 10 |
3 files changed, 10 insertions, 4 deletions
@@ -13,10 +13,12 @@ Version 2.4.0 - Added lexers: * Augeas (PR#807) + * BBC Basic (PR#806) * Charm++ CI (PR#788) * DASM16 (PR#807) * FloScript (PR#750) * Hspec (PR#790) + * Pony (PR#627) * SGF (PR#780) * Slash (PR#807) * Slurm (PR#760) diff --git a/doc/languages.rst b/doc/languages.rst index d2508b07..d96b1ba8 100644 --- a/doc/languages.rst +++ b/doc/languages.rst @@ -16,6 +16,7 @@ Programming languages * Asymptote * `Augeas <http://augeas.net>`_ * Awk +* BBC Basic * Befunge * Boo * BrainFuck @@ -72,6 +73,7 @@ Programming languages * OCaml * PHP * `Perl 5 <http://perl.org>`_ and `Perl 6 <https://perl6.org>`_ +* `Pony <https://www.ponylang.io/>`_ * PovRay * PostScript * PowerShell diff --git a/pygments/lexers/pony.py b/pygments/lexers/pony.py index 486e404b..13239047 100644 --- a/pygments/lexers/pony.py +++ b/pygments/lexers/pony.py @@ -2,7 +2,7 @@ """ pygments.lexers.pony ~~~~~~~~~~~~~~~~~~~~ - + Lexers for Pony and related languages. :copyright: Copyright 2006-2016 by the Pygments team, see AUTHORS. @@ -19,14 +19,16 @@ __all__ = ['PonyLexer'] class PonyLexer(RegexLexer): """ For Pony source code. + + .. versionadded:: 2.4 """ - + name = 'Pony' aliases = ['pony'] filenames = ['*.pony'] - + _caps = r'(iso|trn|ref|val|box|tag)' - + tokens = { 'root': [ (r'\n', Text), |