preprocessor: pretty print error info