306 // Check for parse errors and warn about tthem |
306 // Check for parse errors and warn about tthem |
307 if (obj->getType() == LDObject::Error) |
307 if (obj->getType() == LDObject::Error) |
308 { log ("Couldn't parse line #%1: %2", m_progress + 1, static_cast<LDError*> (obj)->reason); |
308 { log ("Couldn't parse line #%1: %2", m_progress + 1, static_cast<LDError*> (obj)->reason); |
309 |
309 |
310 if (m_warningsPointer) |
310 if (m_warningsPointer) |
311 (*m_warningsPointer) ++; |
311 (*m_warningsPointer)++; |
312 } |
312 } |
313 |
313 |
314 m_objs << obj; |
314 m_objs << obj; |
315 setProgress (i); |
315 setProgress (i); |
316 |
316 |