t / t4034 / dts / expecton commit userdiff: add a builtin pattern for dts files (3c81760)
   1<BOLD>diff --git a/pre b/post<RESET>
   2<BOLD>index b6a9051..7803aee 100644<RESET>
   3<BOLD>--- a/pre<RESET>
   4<BOLD>+++ b/post<RESET>
   5<CYAN>@@ -1,32 +1,32 @@<RESET>
   6/ {<RESET>
   7        <RED>this_handle<RESET><GREEN>HANDLE_2<RESET>: <RED>node<RESET><GREEN>new-node<RESET>@<RED>f00<RESET><GREEN>eeda<RESET> {
   8                compatible = "<RED>mydev<RESET><GREEN>vendor,compat<RESET>";
   9                string-prop = <RED>start<RESET><GREEN>end<RESET>: "hello <RED>world!<RESET><GREEN>world?<RESET>" <RED>end<RESET><GREEN>start<RESET>: ;
  10                <RED>#size-cells<RESET><GREEN>#address-cells<RESET> = <<RED>0+0<RESET><GREEN>0+40<RESET>>;
  11                reg = <<RED>0xf00<RESET><GREEN>0xeeda<RESET>>;
  12                prop = <<GREEN>(<RESET>1<GREEN>)<RESET>>;
  13                prop = <<GREEN>(<RESET>-1e10<GREEN>)<RESET>>;
  14                prop = <(!<RED>3<RESET><GREEN>1<RESET>)>;
  15                prop = <(~<RED>3<RESET><GREEN>1<RESET>)>;
  16                prop = <(<RED>3<RESET><GREEN>1<RESET>*<RED>4<RESET><GREEN>2<RESET>)>;
  17                prop = <(<RED>3<RESET><GREEN>1<RESET>&<RED>4<RESET><GREEN>2<RESET>)>;
  18                prop = <(<RED>3<RESET><GREEN>1<RESET>*<RED>4<RESET><GREEN>2<RESET>)>;
  19                prop = <(<RED>3<RESET><GREEN>1<RESET>/<RED>4<RESET><GREEN>2<RESET>)>;
  20                prop = <(<RED>3<RESET><GREEN>1<RESET>%<RED>4<RESET><GREEN>2<RESET>)>;
  21                prop = <(<RED>3+4<RESET><GREEN>1+2<RESET>)>;
  22                prop = <(<RED>3-4<RESET><GREEN>1-2<RESET>)>;
  23                prop = /bits/ <RED>64<RESET><GREEN>32<RESET> <(<RED>3<RESET><GREEN>1<RESET><<<RED>4<RESET><GREEN>2<RESET>)>;
  24                prop = <(<RED>3<RESET><GREEN>1<RESET>>><RED>4<RESET><GREEN>2<RESET>)>;
  25                prop = <(<RED>3<RESET><GREEN>1<RESET>&<RED>4<RESET><GREEN>2<RESET>)>;
  26                prop = <(<RED>3<RESET><GREEN>1<RESET>^<RED>4<RESET><GREEN>2<RESET>)>;
  27                prop = <(<RED>3<RESET><GREEN>1<RESET>|<RED>4<RESET><GREEN>2<RESET>)>;
  28                prop = <(<RED>3<RESET><GREEN>1<RESET>&&<RED>4<RESET><GREEN>2<RESET>)>;
  29                prop = <(<RED>3<RESET><GREEN>1<RESET>||<RED>4<RESET><GREEN>2<RESET>)>;
  30                prop = <(<RED>4?5<RESET><GREEN>1?2<RESET>:3)>;
  31                list = <&<RED>this_handle<RESET><GREEN>HANDLE_2<RESET>>, <0 0 0 <RED>0<RESET><GREEN>1<RESET>>;
  32        };<RESET>
  33
  34        &<RED>phandle<RESET><GREEN>phandle2<RESET> {
  35                <RED>pre-phandle<RESET><GREEN>prop_handle<RESET> = <&<RED>this_handle<RESET><GREEN>HANDLE_2<RESET>>;
  36        };<RESET>
  37};<RESET>