HEX
Server: Apache
System: Linux iad1-shared-e1-13 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User: dh_x7ke6i (5503775)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //usr/share/highlight/langDefs/dts.lang
Description="Device Tree Source"

Keywords={
  {  Id=1,
   Regex=[[([\w-]+(@.+)?)\s*\{]],
   Group=1
  },
  { Id=2,
    List= { "compatible", "reg", "interrupts", "cpus", "external-bus", "ranges"
          }
  },
  { Id=3,
     Regex=[[\/[\w\-]+\/]]
  },
  { Id=4,
    Regex=[[#[\w\-]+]]
  }
}

Identifiers=[[ [a-zA-Z_][\w\-]* ]]

Strings = {
  Delimiter=[["]],
}

Comments = {
   { Block=true,
     Nested=false,
     Delimiter = { [[\/\*]], [[\*\/]] }
   },
   {
     Block=false,
     Delimiter = { [[//]] }
   }
}

IgnoreCase=false

Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|=|\/|\*|\%|\+|\-|\~|\||\^]]