[Cocci] please help me with a "repetition"

Robert Larice Robert.Larice at t-online.de
Sun Apr 29 13:00:40 CEST 2018


  probably a stupid question,
  I'm failing to match something like this

+  int newvar;
   i++; i++; ... any sequence of only "i++";
+  buckbear(42);

  I don't succeed to express this "maximum length repetition"
    in the mids of those two insertions.

Best Regards,

More information about the Cocci mailing list