| 1 |
/* This is a comment! */ |
| 2 |
|
| 3 |
d = This is a Coccinelle script to test inheritance between rules. |
| 4 |
c = h |
| 5 |
k = inheritance, test. |
| 6 |
o = --a-flag, --another-flag, --a-third-flag. |
| 7 |
l = Only works for functions with exact names f, g, h, hh.|Not really useful. |
| 8 |
a = Author1, affiliation. License1|Author2, affiliation. License2|Author3. |
| 9 |
u = http://coccinelle.lip6.fr/ |
| 10 |
m = Additional comments. |
| 11 |
11:rule_h = |
| 12 |
org:"Replace call to h with call to hh on expression %s." % r.x |
| 13 |
// no report message; use same as org |
| 14 |
19:rule_h2 = |
| 15 |
org:"This is a message for rule_h2 in org mode." |
| 16 |
report:"This is a message for rule_h2 in report mode." |
| 17 |
// nothing for rule on line 25; let the program generate it |