summaryrefslogtreecommitdiff
path: root/pygments/lexers/basic.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2022-10-27 07:19:07 +0200
committerGeorg Brandl <georg@python.org>2022-10-27 11:58:29 +0200
commit11dac32db5db1166b8d55dc85bc16d2085936c9a (patch)
treec5e59cbabf10790754b4f2bc915ed87b2dba8c09 /pygments/lexers/basic.py
parent2b45339f7d6966b1780b28f3b792266f0f48214c (diff)
downloadpygments-git-11dac32db5db1166b8d55dc85bc16d2085936c9a.tar.gz
all: style fixes
Diffstat (limited to 'pygments/lexers/basic.py')
-rw-r--r--pygments/lexers/basic.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/pygments/lexers/basic.py b/pygments/lexers/basic.py
index f0a33ff9..e726e05e 100644
--- a/pygments/lexers/basic.py
+++ b/pygments/lexers/basic.py
@@ -625,7 +625,8 @@ class BBCBasicLexer(RegexLexer):
# Some special cases to make functions come out nicer
(r'(DEF)(\s*)(FN|PROC)([A-Za-z_@][\w@]*)',
- bygroups(Keyword.Declaration, Whitespace, Keyword.Declaration, Name.Function)),
+ bygroups(Keyword.Declaration, Whitespace,
+ Keyword.Declaration, Name.Function)),
(r'(FN|PROC)([A-Za-z_@][\w@]*)',
bygroups(Keyword, Name.Function)),
@@ -633,7 +634,8 @@ class BBCBasicLexer(RegexLexer):
bygroups(Keyword, Whitespace, Name.Label)),
(r'(TRUE|FALSE)', Keyword.Constant),
- (r'(PAGE|LOMEM|HIMEM|TIME|WIDTH|ERL|ERR|REPORT\$|POS|VPOS|VOICES)', Keyword.Pseudo),
+ (r'(PAGE|LOMEM|HIMEM|TIME|WIDTH|ERL|ERR|REPORT\$|POS|VPOS|VOICES)',
+ Keyword.Pseudo),
(words(base_keywords), Keyword),
(words(basic5_keywords), Keyword),