diff options
author | Georg Brandl <georg@python.org> | 2014-11-06 14:00:28 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-11-06 14:00:28 +0100 |
commit | c863ac19ce4d591b93be8b36cb69b04422c8dc9f (patch) | |
tree | 98bd701a6fb0da18d92897960eabdd9a139ad7d4 /pygments/lexers/fortran.py | |
parent | 90fe03b0f663810f4b6718d89b5e830ec2c67960 (diff) | |
download | pygments-c863ac19ce4d591b93be8b36cb69b04422c8dc9f.tar.gz |
Simplify charclasses in the remaining modules
Diffstat (limited to 'pygments/lexers/fortran.py')
-rw-r--r-- | pygments/lexers/fortran.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pygments/lexers/fortran.py b/pygments/lexers/fortran.py index a2ca5cb3..3dd855bc 100644 --- a/pygments/lexers/fortran.py +++ b/pygments/lexers/fortran.py @@ -39,7 +39,7 @@ class FortranLexer(RegexLexer): tokens = { 'root': [ - ('^#.*\n', Comment.Preproc), + (r'^#.*\n', Comment.Preproc), (r'!.*\n', Comment), include('strings'), include('core'), @@ -99,10 +99,10 @@ class FortranLexer(RegexLexer): 'BLT', 'Bit_Size', 'BTest', 'CAbs', 'CCos', 'Ceiling', 'CExp', 'Char', 'ChDir', 'ChMod', 'CLog', 'Cmplx', 'Command_Argument_Count', 'Complex', 'Conjg', 'Cos', 'CosH', 'Count', 'CPU_Time', 'CShift', - 'CSin', 'CSqRt', 'CTime', 'C_Funloc', 'C_Loc', 'C_Associated', + 'CSin', 'CSqRt', 'CTime', 'C_Loc', 'C_Associated', 'C_Null_Ptr', 'C_Null_Funptr', 'C_F_Pointer', 'C_F_ProcPointer', 'C_Null_Char', 'C_Alert', 'C_Backspace', 'C_Form_Feed', 'C_FunLoc', - 'C_Loc', 'C_Sizeof', 'C_New_Line', 'C_Carriage_Return', + 'C_Sizeof', 'C_New_Line', 'C_Carriage_Return', 'C_Horizontal_Tab', 'C_Vertical_Tab', 'DAbs', 'DACos', 'DASin', 'DATan', 'Date_and_Time', 'DbesJ', 'DbesJN', 'DbesY', 'DbesYN', 'Dble', 'DCos', 'DCosH', 'DDiM', 'DErF', |