"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/ada.lang" (12 May 2020, 1683 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. See also the last Fossies "Diffs" side-by-side code changes report for "ada.lang": 3.56_vs_3.57.

    1 
    2 Description="ADA95"
    3 
    4 Categories = {"source"}
    5 
    6 Keywords={
    7 
    8     { Id=1,
    9       List={"abort", "else", "new", "return", "abs", "elsif", "not", "reverse",
   10             "abstract", "end", "null", "accept", "entry", "select", "access", "exception",
   11             "separate", "aliased", "exit", "of", "subtype", "all", "or", "and", "for",
   12             "others", "tagged", "array", "function", "out", "task", "at", "terminate",
   13             "generic", "package", "then", "begin", "goto", "pragma", "type", "body",
   14             "private", "if", "procedure", "case", "in", "protected", "until", "constant",
   15             "is", "use", "raise", "declare", "range", "when", "delay", "limited", "record",
   16             "while", "delta", "loop", "rem", "with", "digits", "renames", "do", "mod",
   17             "requeue", "xor"},
   18     },
   19     { Id=2,
   20       List={"boolean", "integer", "natural", "positive", "float", "character",
   21             "string", "duration", "short_integer", "long_integer", "short_float",
   22             "long_float", "wide_character", "wide_string", "short_short_integer",
   23             "long_long_integer", "short_short_float", "long_long_float"},
   24     },
   25 
   26     { Id=3,
   27       Regex=[[(\w+)\s*\(]]
   28     },
   29     { Id=4,
   30       List={"true", "false"},
   31     },
   32     { Id=4,
   33       Regex=[[ [\w\)]+('\w+) ]],
   34     },
   35     { Id=4,
   36       Regex=[[''']],
   37     }
   38 
   39 }
   40 
   41 --workaround for special string '''
   42 Strings={
   43     Delimiter=[["|']],
   44     Escape = [[ \\[^'] ]]
   45 }
   46 
   47 IgnoreCase=true
   48 
   49 Comments={
   50     { Block=false,
   51       Delimiter= { [[\-\-]] },
   52       },
   53     }
   54 
   55 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\.]]
   56 
   57 Digits=[[ (?:0x|0X|0b)[0-9a-fA-F_]+|\d*[\.\_]?\d+(?:[eE][\-\+]?\d+)?[fFlLuU]? ]]
   58 
   59