file.cpp

changeset 164
8c93d8e38494
parent 161
c9fba92c4e35
child 168
96691a009dff
equal deleted inserted replaced
163:46955613626d 164:8c93d8e38494
402 } 402 }
403 403
404 // Handle BFC statements 404 // Handle BFC statements
405 if (tokens.size() > 2 && tokens[1] == "BFC") { 405 if (tokens.size() > 2 && tokens[1] == "BFC") {
406 for (short i = 0; i < LDBFC::NumStatements; ++i) 406 for (short i = 0; i < LDBFC::NumStatements; ++i)
407 if (comm == fmt ("BFC %s", LDBFC::saStatements [i])) 407 if (comm == fmt ("BFC %s", LDBFC::statements [i]))
408 return new LDBFC ((LDBFC::Type) i); 408 return new LDBFC ((LDBFC::Type) i);
409 409
410 // MLCAD is notorious for stuffing these statements in parts it 410 // MLCAD is notorious for stuffing these statements in parts it
411 // creates. The above block only handles valid statements, so we 411 // creates. The above block only handles valid statements, so we
412 // need to handle MLCAD-style invertnext separately. 412 // need to handle MLCAD-style invertnext separately.
463 return obj; 463 return obj;
464 } 464 }
465 } 465 }
466 466
467 LDComment* obj = new LDComment; 467 LDComment* obj = new LDComment;
468 obj->zText = comm; 468 obj->text = comm;
469 return obj; 469 return obj;
470 } 470 }
471 471
472 case 1: 472 case 1:
473 { 473 {

mercurial