| 9093 | } |
| 9094 | |
| 9095 | void BfCompiler::HandleGeneratorErrors(StringImpl& result) |
| 9096 | { |
| 9097 | if ((mPassInstance->mErrors.IsEmpty()) && (mPassInstance->mOutStream.IsEmpty())) |
| 9098 | return; |
| 9099 | |
| 9100 | result.Clear(); |
| 9101 | |
| 9102 | for (auto& msg : mPassInstance->mOutStream) |
| 9103 | { |
| 9104 | String error = msg; |
| 9105 | error.Replace('\n', '\r'); |
| 9106 | result += "!error\t"; |
| 9107 | result += error; |
| 9108 | result += "\n"; |
| 9109 | } |
| 9110 | } |
| 9111 | |
| 9112 | String BfCompiler::GetGeneratorTypeDefList() |
| 9113 | { |