Coccinelle release-1.0.0-rc11
[bpt/coccinelle.git] / python / coccilib / report.py
1 def build_report(p, msg) :
2 return "%s:%s:%s-%s: %s" % (p.file,p.line,p.column,p.column_end,msg)
3
4 def print_report(p, msg="ERROR") :
5 print build_report(p, msg)