| 490 | |
| 491 | |
| 492 | void |
| 493 | OSOReaderToMaster::codeend () |
| 494 | { |
| 495 | int nextop = (int) m_master->m_ops.size(); |
| 496 | if (m_codesym >= 0) { |
| 497 | // If we were previously chalking up the code to init ops for a |
| 498 | // symbol, mark the end. |
| 499 | m_master->symbol(m_codesym)->initend (nextop); |
| 500 | } else if (m_codesection && m_codesection == "___main___") { |
| 501 | // If we were previously reading ops for the ___main___ entry |
| 502 | // point, mark its end properly. |
| 503 | m_master->m_maincodeend = nextop; |
| 504 | } |
| 505 | } |
| 506 | |
| 507 | |
| 508 |