diff options
Diffstat (limited to 'pygments/lexers/basic.py')
-rw-r--r-- | pygments/lexers/basic.py | 6 |
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), |