diff options
author | Nathan Whetsell <nathan.whetsell@gmail.com> | 2017-05-27 08:17:33 -0400 |
---|---|---|
committer | Nathan Whetsell <nathan.whetsell@gmail.com> | 2017-05-27 08:17:33 -0400 |
commit | a20d1aa299b7fadb347a1d5ed482696879e4e9b1 (patch) | |
tree | c3a1b42eea480f1e393129617213b3790d4fd1bd | |
parent | 1d3874f78836393858c0f3a287cbe40ce18e8fc4 (diff) | |
download | pygments-a20d1aa299b7fadb347a1d5ed482696879e4e9b1.tar.gz |
Add Csound Score d statement
-rw-r--r-- | pygments/lexers/csound.py | 2 | ||||
-rw-r--r-- | tests/examplefiles/test.sco | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/csound.py b/pygments/lexers/csound.py index 110d73aa..d26ba156 100644 --- a/pygments/lexers/csound.py +++ b/pygments/lexers/csound.py @@ -146,7 +146,7 @@ class CsoundScoreLexer(CsoundLexer): include('whitespace and macro uses'), include('preprocessor directives'), - (r'[abCefiqstvxy]', Keyword), + (r'[abCdefiqstvxy]', Keyword), # There is also a w statement that is generated internally and should not be # used; see https://github.com/csound/csound/issues/750. diff --git a/tests/examplefiles/test.sco b/tests/examplefiles/test.sco index e855e563..d997c1b3 100644 --- a/tests/examplefiles/test.sco +++ b/tests/examplefiles/test.sco @@ -3,7 +3,7 @@ */ ; comment // comment -a b C e f i q s t v x y +a b C d e f i q s t v x y z np0 nP1 Np2 NP3 m/**/label; |