diff options
author | Adam Hirst <ahirst@cedint.upm.es> | 2014-07-30 12:09:59 +0000 |
---|---|---|
committer | Adam Hirst <ahirst@cedint.upm.es> | 2014-07-30 12:09:59 +0000 |
commit | 2e4de38f5cce9f53dbe6a4984be23b401c774447 (patch) | |
tree | f79b73004c1585cac3fbc2ec06df52718b7222a1 /pygments/lexers/compiled.py | |
parent | 2362ca7d7bb5a27f6c4a90b791b8adb32a78e27e (diff) | |
download | pygments-2e4de38f5cce9f53dbe6a4984be23b401c774447.tar.gz |
Further increased the Fortran KEYWORD list, specifically the various END* variants which do not include the insignificant blank.
Diffstat (limited to 'pygments/lexers/compiled.py')
-rw-r--r-- | pygments/lexers/compiled.py | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/pygments/lexers/compiled.py b/pygments/lexers/compiled.py index a519af5c..beb48bfc 100644 --- a/pygments/lexers/compiled.py +++ b/pygments/lexers/compiled.py @@ -1583,19 +1583,22 @@ class FortranLexer(RegexLexer): 'core': [ # Statements (r'\b(ABSTRACT|ACCEPT|ALL|ALLSTOP|ALLOCATABLE|ALLOCATE|ARRAY|ASSIGN|' - r'ASSOCIATE|ASYNCHRONOUS|BACKSPACE|BIND|BLOCK( DATA)?|BYTE|CALL|CASE|' - r'CLASS|CLOSE|CODIMENSION|COMMON|CONCURRRENT|CONTIGUOUS|CONTAINS|' - r'CONTINUE|CRITICAL|CYCLE|DATA|DEALLOCATE|DECODE|DEFERRED|DIMENSION|' - r'DO|ELEMENTAL|ELSE|ENCODE|END( FILE)?|ENDASSOCIATE|ENDBLOCK|' - r'ENDCRITICAL|ENDIF|ENDPROCEDURE|ENTRY|ENUM|ENUMERATOR|EQUIVALENCE|' - r'EXIT|EXTERNAL|EXTRINSIC|FINAL|FORALL|FORMAT|FUNCTION|GENERIC|GOTO|' - r'IF|IMAGES|IMPLICIT|IMPORT|IMPURE|INCLUDE|INQUIRE|INTENT|INTERFACE|' - r'INTRINSIC|IS|LOCK|MEMORY|MODULE|NAMELIST|NULLIFY|NONE|NON_INTRINSIC|' - r'NON_OVERRIDABLE|NOPASS|OPEN|OPTIONAL|OPTIONS|PARAMETER|PASS|PAUSE|' - r'POINTER|PRINT|PRIVATE|PROGRAM|PROTECTED|PUBLIC|PURE|READ|RECURSIVE|' - r'RESULT|RETURN|REWIND|SAVE|SELECT|SEQUENCE|STOP|SUBMODULE|SUBROUTINE|' - r'SYNC|SYNCALL|SYNCIMAGES|SYNCMEMORY|TARGET|THEN|TYPE|UNLOCK|USE|' - r'VALUE|VOLATILE|WHERE|WRITE|WHILE)\s*\b', + r'ASSOCIATE|ASYNCHRONOUS|BACKSPACE|BIND|BLOCK|BLOCKDATA|BYTE|CALL|' + r'CASE|CLASS|CLOSE|CODIMENSION|COMMON|CONCURRRENT|CONTIGUOUS|' + r'CONTAINS|CONTINUE|CRITICAL|CYCLE|DATA|DEALLOCATE|DECODE|DEFERRED|' + r'DIMENSION|DO|ELEMENTAL|ELSE|ENCODE|ENDASSOCIATE|ENDBLOCK|' + r'ENDBLOCKDATA|ENDCRITICAL|ENDDO|ENDFILE|ENDFORALL|ENDFUNCTION|ENDIF|' + r'ENDINTERFACE|ENDMODULE|ENDPROCEDURE|ENDPROGRAM|ENDSELECT|' + r'ENDSUBMODULE|ENDSUBROUTINE|ENDTYPE|ENDWHERE|ENTRY|ENUM|ENUMERATOR|' + r'EQUIVALENCE|EXIT|EXTENDS|EXTERNAL|EXTRINSIC|FINAL|FORALL|FORMAT|' + r'FUNCTION|GENERIC|GOTO|IF|IMAGES|IMPLICIT|IMPORT|IMPURE|INCLUDE|' + r'INQUIRE|INTENT|INTERFACE|INTRINSIC|IS|LOCK|MEMORY|MODULE|NAMELIST|' + r'NULLIFY|NONE|NON_INTRINSIC|NON_OVERRIDABLE|NOPASS|OPEN|OPTIONAL|' + r'OPTIONS|PARAMETER|PASS|PAUSE|POINTER|PRINT|PRIVATE|PROGRAM|' + r'PROTECTED|PUBLIC|PURE|READ|RECURSIVE|RESULT|RETURN|REWIND|SAVE|' + r'SELECT|SEQUENCE|STOP|SUBMODULE|SUBROUTINE|SYNC|SYNCALL|SYNCIMAGES|' + r'SYNCMEMORY|TARGET|THEN|TYPE|UNLOCK|USE|VALUE|VOLATILE|WHERE|WRITE|' + r'WHILE)\s*\b', Keyword), # Data Types |