diff options
author | Sebastian Engel <dev@sebastianengel.eu> | 2021-12-31 17:57:21 +0100 |
---|---|---|
committer | Sebastian Engel <dev@sebastianengel.eu> | 2022-01-06 18:21:32 +0100 |
commit | c7c2f9a5aa98671a79a19d7969738865c2faf380 (patch) | |
tree | e1ab84a63ae9c8e5473ecb5a74541ca4bbce71b0 /pygments/lexers/igor.py | |
parent | 26381aa6287bc1198319f280f5fde718b7ad37ea (diff) | |
download | pygments-git-c7c2f9a5aa98671a79a19d7969738865c2faf380.tar.gz |
Modernize Whitespace token in lexer igor
Diffstat (limited to 'pygments/lexers/igor.py')
-rw-r--r-- | pygments/lexers/igor.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pygments/lexers/igor.py b/pygments/lexers/igor.py index e843d081..eef808ad 100644 --- a/pygments/lexers/igor.py +++ b/pygments/lexers/igor.py @@ -11,7 +11,7 @@ import re from pygments.lexer import RegexLexer, words -from pygments.token import Text, Comment, Keyword, Name, String +from pygments.token import Text, Comment, Keyword, Name, String, Whitespace __all__ = ['IgorLexer'] @@ -413,6 +413,7 @@ class IgorLexer(RegexLexer): # Compiler directives. (r'^#(include|pragma|define|undef|ifdef|ifndef|if|elif|else|endif)', Name.Decorator), + (r'\s+', Whitespace), (r'[^a-z"/]+$', Text), (r'.', Text), ], |