summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2016-02-17 10:35:23 +0100
committerGeorg Brandl <georg@python.org>2016-02-17 10:35:23 +0100
commitdeabcfb44389cb55a08e8dedbb266e9b1c4f61ab (patch)
treeab7c0bff4046aab085676cd624edf893f6dd4be4
parentc348936391c62f1232dd15dff87caf5ca4122d22 (diff)
downloadpygments-deabcfb44389cb55a08e8dedbb266e9b1c4f61ab.tar.gz
JSGF: add to CHANGES, add versionadded
-rw-r--r--CHANGES1
-rw-r--r--pygments/lexers/grammar_notation.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index a21a16da..8a0900aa 100644
--- a/CHANGES
+++ b/CHANGES
@@ -21,6 +21,7 @@ Version 2.2
* Flatline (PR#551)
* Silver (PR#537)
* HSAIL (PR#518)
+ * JSGF (PR#546)
- Added `lexers.find_lexer_class_by_name()`. (#1203)
diff --git a/pygments/lexers/grammar_notation.py b/pygments/lexers/grammar_notation.py
index 21c59b09..d59cc61c 100644
--- a/pygments/lexers/grammar_notation.py
+++ b/pygments/lexers/grammar_notation.py
@@ -137,8 +137,9 @@ class JsgfLexer(RegexLexer):
"""
For `JSpeech Grammar Format <https://www.w3.org/TR/jsgf/>`_
grammars.
- """
+ .. versionadded:: 2.2
+ """
name = 'JSGF'
aliases = ['jsgf']
filenames = ['*.jsgf']