Re: [PATCH v3] userdiff: Fix some corner cases in dts regex

2019-10-20 Thread Johannes Sixt
Am 20.10.19 um 20:52 schrieb Stephen Boyd: > --- /dev/null > +++ b/t/t4018/dts-nodes-multiline-prop > @@ -0,0 +1,13 @@ > +/ { > + label_1: node1@ff00 { > + RIGHT@deadf00,4000 { > + multilineprop = <3>, > + <4>, > +

[PATCH v3] userdiff: Fix some corner cases in dts regex

2019-10-20 Thread Stephen Boyd
While reviewing some dts diffs recently I noticed that the hunk header logic was failing to find the containing node. This is because the regex doesn't consider properties that may span multiple lines, i.e. property = , ; and it got hung up on comments inside nodes that