summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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),
],