summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgribok <40306040+gribok@users.noreply.github.com>2020-04-13 14:06:05 +0000
committergribok <40306040+gribok@users.noreply.github.com>2020-04-13 14:06:05 +0000
commit71b1ec2ae09ff1c4f337601aa5329af0fc25b79f (patch)
treed3b9ef071f0cb4ba5728ab9a363527b62adfe5fb
parentf09e3422bb49a7263653d99ed9ccfb1ee52288e4 (diff)
downloadpygments-git-71b1ec2ae09ff1c4f337601aa5329af0fc25b79f.tar.gz
remove duplicate keyword in yang lexer
-rw-r--r--pygments/lexers/yang.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/yang.py b/pygments/lexers/yang.py
index c96f37ea..478c36b0 100644
--- a/pygments/lexers/yang.py
+++ b/pygments/lexers/yang.py
@@ -34,8 +34,8 @@ class YangLexer(RegexLexer):
LINKAGE_STMTS_KEYWORDS = ("import", "include", "revision-date")
BODY_STMT_KEYWORDS = ("extension", "feature", "identity", "typedef",
"grouping", "augment", "rpc", "notification",
- "deviation", "action", "argument", "identity",
- "if-feature", "input", "output")
+ "deviation", "action", "argument", "if-feature",
+ "input", "output")
DATA_DEF_STMT_KEYWORDS = ("container", "leaf-list", "leaf", "list",
"choice", "anydata", "anyxml", "uses",
"case", "config", "deviate", "must",