296 { str line = lines() [i]; |
296 { str line = lines() [i]; |
297 |
297 |
298 // Trim the trailing newline |
298 // Trim the trailing newline |
299 qchar c; |
299 qchar c; |
300 |
300 |
301 while (!line.isEmpty() && (c = line[line.length() - 1]) == '\n' || c == '\r') |
301 while (!line.isEmpty() && ((c = line[line.length() - 1]) == '\n' || c == '\r')) |
302 line.chop (1); |
302 line.chop (1); |
303 |
303 |
304 LDObject* obj = parseLine (line); |
304 LDObject* obj = parseLine (line); |
305 |
305 |
306 // Check for parse errors and warn about tthem |
306 // Check for parse errors and warn about tthem |