summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-11-06 10:59:22 +0100
committerGeorg Brandl <georg@python.org>2014-11-06 10:59:22 +0100
commit6b3c586f3ff4918b53222a57bd12a960bf29f312 (patch)
treea7ef9af10dac160418befd74a56e76d14fc2deac
parent96dbe1ac542311207d930320b782f1aa4072dfda (diff)
downloadpygments-6b3c586f3ff4918b53222a57bd12a960bf29f312.tar.gz
Fortran: allow $ in names
-rw-r--r--pygments/lexers/fortran.py2
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),
],