HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
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=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|=|\/|\*|\%|\+|\-|\~|\||\^]]