"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/dts.lang" (12 May 2020, 635 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 "dts.lang": 3.53_vs_3.54.

    1 
    2 Description="Device Tree Source"
    3 
    4 Categories = {"config"}
    5 
    6 Keywords={
    7   { Id=1,
    8     Regex=[[([\w-]+(@.+)?)\s*\{]],
    9     Group=1
   10   },
   11   { Id=2,
   12     List= {
   13       "compatible", "reg", "interrupts", "cpus", "external-bus", "ranges"
   14     }
   15   },
   16   { Id=3,
   17     Regex=[[\/[\w\-]+\/]]
   18   },
   19   { Id=4,
   20     Regex=[[#[\w\-]+]]
   21   }
   22 }
   23 
   24 Identifiers=[[ [a-zA-Z_][\w\-]* ]]
   25 
   26 Strings = {
   27   Delimiter=[["]],
   28 }
   29 
   30 Comments = {
   31   { Block=true,
   32     Nested=false,
   33     Delimiter = { [[\/\*]], [[\*\/]] }
   34   },
   35   {
   36     Block=false,
   37     Delimiter = { [[//]] }
   38   }
   39 }
   40 
   41 IgnoreCase=false
   42 
   43 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|=|\/|\*|\%|\+|\-|\~|\||\^]]