diff options
Diffstat (limited to 'pygments/lexers/fortran.py')
-rw-r--r-- | pygments/lexers/fortran.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pygments/lexers/fortran.py b/pygments/lexers/fortran.py index 2ed89e54..ae432b88 100644 --- a/pygments/lexers/fortran.py +++ b/pygments/lexers/fortran.py @@ -39,10 +39,11 @@ class FortranLexer(RegexLexer): tokens = { 'root': [ + ('^#.*\n', Comment.Preproc), (r'!.*\n', Comment), include('strings'), include('core'), - (r'[a-z]\w*', Name.Variable), + # (r'[a-z]\w*', Name.Variable), # too broad include('nums'), (r'[\s]+', Text), ], |