"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/awk.lang" (12 May 2020, 1000 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 "awk.lang": 3.56_vs_3.57.

    1 
    2 Description="(G)AWK"
    3 
    4 -- Syntax file created by Andreas Schoenberg
    5 
    6 
    7 Categories = {"source", "script"}
    8 
    9 Keywords={
   10   { Id=1,
   11     List={"begin", "break", "close", "continue", "delete", "do", "else", "end",
   12         "exit", "for", "getline", "gsub", "if", "index", "length", "match", "next",
   13         "print", "printf", "return", "split", "sprintf", "sub", "substr", "system",
   14         "tolower", "toupper", "while"},
   15   },
   16   { Id=2,
   17     List={"argc", "argind", "argv", "convfmt", "environ", "errno",
   18         "fieldwidths", "filename", "fnr", "fs", "ignorecase", "nf", "nr", "ofmt", "ofs",
   19         "ors", "rlength", "rs", "rstart", "rt", "subset"},
   20   },
   21   { Id=3,
   22     List={"function"},
   23   },
   24   { Id=4,
   25     Regex=[[ \$[\w]+ ]],
   26   }
   27 }
   28 
   29 Strings={
   30   Delimiter=[["|']],
   31   Escape=[[ [\\%]\d{3}|[\\%]x\d{2}|[\\%][ntvbrfa\\\?'"%] ]],
   32   Interpolation = [[ %\w ]],
   33 }
   34 
   35 IgnoreCase=true
   36 
   37 Comments={
   38   { Block=false,
   39     Delimiter= { [[#]] },
   40   },
   41 }
   42 
   43 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!\=|\/|\*|\||\+|\-]]