213 break; |
213 break; |
214 |
214 |
215 if (u == MAX_MARKS) |
215 if (u == MAX_MARKS) |
216 error ("mark reference quota exceeded, all goto-statements, if-structs and loops add refs\n"); |
216 error ("mark reference quota exceeded, all goto-statements, if-structs and loops add refs\n"); |
217 |
217 |
218 // NOTE: Do not check if the mark actually exists here since a |
|
219 // reference may come in the code earlier than the actual mark |
|
220 // and the new mark number can be predicted. |
|
221 // 11/8/12: eh? The mark is always created first. |
|
222 ScriptMarkReference* r = new ScriptMarkReference; |
218 ScriptMarkReference* r = new ScriptMarkReference; |
223 r->num = marknum; |
219 r->num = marknum; |
224 r->pos = writesize; |
220 r->pos = writesize; |
225 refs[u] = r; |
221 refs[u] = r; |
226 |
222 |