[cocci] Improving expression list selections with SmPL ellipses?
Markus Elfring <[email protected]>
| Newsgroups | fr.inria.cocci |
|---|---|
| Message-ID | <[email protected]> |
Hello,
Would you find the following SmPL script variant reasonable?
@display@
@@
*my_action("Hello!", ..., ...);
Unfortunately, I was disturbed by the following information.
Questionable test result (according to the software combination “Coccinelle 1.3.0”):
Markus_Elfring@Sonne:…/Projekte/Coccinelle/Probe> /usr/bin/spatch --parse-cocci parse_test_for_ellipsis_as_last_parameter.cocci
…
minus: parse error:
File "parse_test_for_ellipsis_as_last_parameter.cocci", line 3, column 26, charpos = 39
around = '...',
whole content = *my_action("Hello!", ..., ...);
Under which circumstances will such data processing work also without using
extra metavariables (instead of SmPL ellipses)?
Regards,
Markus