> The only short term suggestion I have is the following:

I wonder about the specification of two statement variables here.


Under which circumstances can a transformation approach (like the following)
work as desired?

@addition@
identifier action;
statement s;
@@
 <+...
 action(...)
+;
 s
 ...+>

elfring@Sonne:~/Projekte/Coccinelle/Probe> spatch --parse-cocci 
add_semicolon_behind_call1.cocci
init_defs_builtins: /usr/local/bin/../lib/coccinelle/standard.h
minus: parse error:
  File "add_semicolon_behind_call1.cocci", line 8, column 1, charpos = 70
  around = 's',
  whole content =  s


How will further improvements be achieved for data processing around macro 
calls?

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to