| | @@ -86,7 +86,7 @@ |
| 86 | 86 | end; |
| 87 | 87 | |
| 88 | 88 | (* The code made so far, to go back to for a second try at a body *) |
| 89 | | - CodeMark* = record pc*, fixups*, lines*, said*, fails*: INT; end; |
| 89 | + CodeMark* = record pc*, fixups*, lines*, said*, fails*, exit*: INT; end; |
| 90 | 90 | |
| 91 | 91 | (* For entryPoint: the address of chunk, put in the variable whose |
| 92 | 92 | chunk is into before the program starts; or, for C's symbols, the |
| | @@ -2128,7 +2128,7 @@ |
| 2128 | 2128 | proc markCode*(var m: CodeMark); |
| 2129 | 2129 | begin |
| 2130 | 2130 | m.pc := Chunk.pc; m.fixups := Chunk.numFixups; m.lines := Chunk.numLines; m.said := X.saidCount(); |
| 2131 | | - m.fails := numFails; |
| 2131 | + m.fails := numFails; m.exit := exitL; |
| 2132 | 2132 | end; |
| 2133 | 2133 | |
| 2134 | 2134 | (* The code made since m taken back, as if it had never been made; the |
| | @@ -2138,6 +2138,7 @@ |
| 2138 | 2138 | Chunk.rewindTo(m.pc, m.fixups, m.lines); |
| 2139 | 2139 | X.unsay(m.said); |
| 2140 | 2140 | numFails := m.fails; |
| 2141 | + exitL := m.exit; (* a try or return in it made jumps to the exit *) |
| 2141 | 2142 | end; |
| 2142 | 2143 | |
| 2143 | 2144 | (* For a second try at the body: the code as it was at m, and the frame |