"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/fortran90.lang" (12 May 2020, 1538 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 Description="Fortran 90"
    3 
    4 Categories = {"source"}
    5 
    6 Digits=[[ (?:0x|0X)[0-9a-fA-F]+|\d*[\.\_]?\d+(?:[eE][\-\+]\d+)?[lLuUbfdm]* ]]
    7 
    8 Keywords={
    9   { Id=1,
   10     List={"accept", "endmap", "pause",   "assign", "endstructure", "pointer",   "automatic", "endunion", "print",   "backspace", "entry", "program",
   11           "blockdata", "equivalence", "read",   "byte", "external", "readonly",   "call", "find", "real",   "character", "format", "record", "close",
   12           "function", "return",   "common", "goto", "rewind",   "complex", "if", "rewrite",   "continue", "implicit", "save",   "data", "implicitnone",
   13           "shared",   "decode", "implicitundefined", "static",   "definefile", "include", "stop",   "delete", "inquire", "structure",   "dimension", "integer",
   14           "subroutine",   "do", "intrinsic", "then",   "doublecomplex", "key", "to",   "doubleprecision", "logical", "type",   "else", "map", "undefined",
   15           "elseif", "namelist", "union",   "encode", "none", "unlock",   "end", "nospanblocks", "virtual",   "enddo", "open", "volatile", "endfile", "options",
   16           "while",   "endif", "parameter", "write", "module", "interface", "use", "contains", "stop", "recursive"},
   17   },
   18   { Id=2,
   19     List={"integer", "real", "double", "precision", "complex", "logical", "character"},
   20   },
   21   { Id=4,
   22     Regex=[[(\w+)\s*\(]],
   23   },
   24 }
   25 
   26 Strings={
   27   Delimiter=[["|']],
   28 }
   29 
   30 IgnoreCase=true
   31 
   32 Comments={
   33   { Block=false,
   34     Delimiter= { [[!]] },
   35   },
   36 }
   37 
   38 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\-|\+|\=|\/|\*|\%|\+|\-|\.|\$]]
   39