only rewrite line numbers if --writePI is active
report errors on #error and #warning again