@finalize:python@
if result:
  result.insert(0, delimiter.join(("function", "return type", "source file", "line", 
"column")))
  print("\r\n".join(result))
else:
  print("No result for this analysis!")
[...]
Both results look like they were doing the right thing.

Can an exit status be returned to the script execution environment so that an unsuccessful/failed analysis process can be indicated to the caller?
http://en.wikipedia.org/wiki/Exit_status

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to