Hello,

I try to achieve something also by the specification of Python code within
scripts for the semantic patch language.
It can happen then that such code contains questionable places
(because of usual update candidates).

Example for a corresponding error message:
…
  File "<string>", line 11
SyntaxError: can't assign to function call
Error in Python script, line 42, file …


I have got difficulties to follow the provided line numbers.
Can they belong to a SmPL rule “initialize” or “finalize”?
I hoped that the error situation would become clearer if I add rule names there.
But I wonder then again about information like the following.

…
rule name: parse error:
…
  whole content = @initialize:python start@


Can this software area be improved?

Regards,
Markus
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to