3b24dcc8a8
A simplified version of the semantic match that finds this problem is follows: (http://coccinelle.lip6.fr/) // <smpl> @r1@ statement S; position p,p1; @@ S@p1;@p @script:python r2@ p << r1.p; p1 << r1.p1; @@ if p[0].line != p1[0].line_end: cocci.include_match(False) @@ position r1.p; @@ -;@p // </smpl> Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e Reviewed-on: https://gerrit.libreoffice.org/9493 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com> |
||
---|---|---|
.. | ||
idxdict | ||
ulfconv | ||
cfg_yy_wrapper.c | ||
cfglex.l | ||
cfgmerge.cxx | ||
common.cxx | ||
export.cxx | ||
helper.cxx | ||
helpex.cxx | ||
helpmerge.cxx | ||
lngex.cxx | ||
lngmerge.cxx | ||
localize.cxx | ||
merge.cxx | ||
po.cxx | ||
pocheck.cxx | ||
propex.cxx | ||
propmerge.cxx | ||
src_yy_wrapper.c | ||
srclex.l | ||
treemerge.cxx | ||
treex.cxx | ||
uimerge.cxx | ||
xmlparse.cxx | ||
xrm_yy_wrapper.c | ||
xrmlex.l | ||
xrmmerge.cxx |