"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/nxc.lang" (12 May 2020, 1230 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="Not eXactly C"
    3 
    4 Categories = {"source"}
    5 
    6 Digits=[[ (?:x|X)[-a-fA-F]+|\d*[\.]?\d+(?:[eE][\-\+]\\d+)?[lLuU]* ]]
    7 
    8 Keywords={
    9   { Id=1,
   10     List={"__RETURN__", "__RETVAL__", "__STRRETVAL__", "__TMPBYTE__",
   11         "__TMPWORD__", "__TMPLONG__", "abs", "asm", "bool", "break", "byte", "case",
   12         "char", "const", "continue", "default", "do", "else", "false", "for", "goto",
   13         "if", "inline", "int", "long", "mutex", "priority", "repeat", "return",
   14         "safecall", "short", "sign", "start", "stop", "string", "struct", "sub",
   15         "switch", "task", "true", "typedef", "", "until", "void", "while"},
   16   },
   17   { Id=2,
   18     List={"bool", "byte", "unsigned", "char", "char", "int", "short", "long",
   19         "long", "mutex", "string", "struct"},
   20   },
   21 
   22   { Id=4,
   23     Regex=[[(\w+)\s*\(]],
   24   },
   25 }
   26 
   27 Strings={
   28   Delimiter=[["|']],
   29 }
   30 
   31 IgnoreCase=false
   32 
   33 Comments={
   34   { Block=false,
   35     Delimiter= { [[\/\/]] },
   36   },
   37   { Block=true,
   38     Nested=false,
   39     Delimiter= { [[\/\*]],[[\*\/]],}
   40   }
   41 }
   42 
   43 PreProcessor={
   44   Prefix=[[#]],
   45   Continuation="\\",
   46 }
   47 
   48 NestedSections = {
   49   { Lang="asm", Delimiter= { [[asm]], [[\}]] } }
   50 }
   51 
   52 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~]]
   53 
   54 EnableIndentation=true