diff options
author | Georg Brandl <georg@python.org> | 2014-11-06 10:59:22 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-11-06 10:59:22 +0100 |
commit | 6b3c586f3ff4918b53222a57bd12a960bf29f312 (patch) | |
tree | a7ef9af10dac160418befd74a56e76d14fc2deac | |
parent | 96dbe1ac542311207d930320b782f1aa4072dfda (diff) | |
download | pygments-6b3c586f3ff4918b53222a57bd12a960bf29f312.tar.gz |
Fortran: allow $ in names
-rw-r--r-- | pygments/lexers/fortran.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/fortran.py b/pygments/lexers/fortran.py index 8cb620e4..98595d29 100644 --- a/pygments/lexers/fortran.py +++ b/pygments/lexers/fortran.py @@ -43,7 +43,7 @@ class FortranLexer(RegexLexer): (r'!.*\n', Comment), include('strings'), include('core'), - (r'[a-z]\w*', Name), + (r'[a-z][\w$]*', Name), include('nums'), (r'[\s]+', Text), ], |