diff options
| author | Hiroki Noda <kubo39@gmail.com> | 2020-01-18 00:08:33 +0900 |
|---|---|---|
| committer | Hiroki Noda <kubo39@gmail.com> | 2020-01-18 00:08:33 +0900 |
| commit | 216d626fdbdd2727b2b6c986c8c5663d2ed51340 (patch) | |
| tree | 4855aa348e014edad38dca99e63494060f118e12 | |
| parent | 142f6c5938d2c7156bebb0b63b6a404876169143 (diff) | |
| download | pygments-git-216d626fdbdd2727b2b6c986c8c5663d2ed51340.tar.gz | |
D: remove typedef from keywords
ref: https://dlang.org/deprecate.html#typedef
| -rw-r--r-- | pygments/lexers/d.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/d.py b/pygments/lexers/d.py index b14f7dcd..ea811947 100644 --- a/pygments/lexers/d.py +++ b/pygments/lexers/d.py @@ -47,7 +47,7 @@ class DLexer(RegexLexer): 'module', 'new', 'nothrow', 'out', 'override', 'package', 'pragma', 'private', 'protected', 'public', 'pure', 'ref', 'return', 'scope', 'shared', 'static', 'struct', 'super', 'switch', 'synchronized', - 'template', 'this', 'throw', 'try', 'typedef', 'typeid', 'typeof', + 'template', 'this', 'throw', 'try', 'typeid', 'typeof', 'union', 'unittest', 'version', 'volatile', 'while', 'with', '__gshared', '__traits', '__vector', '__parameters'), suffix=r'\b'), |
