… | |
… | |
201 | } |
201 | } |
202 | |
202 | |
203 | while (thawer.kw) |
203 | while (thawer.kw) |
204 | { |
204 | { |
205 | if (thawer.kw != KW_object) |
205 | if (thawer.kw != KW_object) |
206 | if (!thawer.parse_error ("formulae file", "formulae")) |
206 | if (!thawer.parse_error ("formulae file")) |
207 | break; |
207 | break; |
208 | |
208 | |
209 | recipe *formula = get_empty_formula (); |
209 | recipe *formula = get_empty_formula (); |
210 | thawer.get (formula->title); |
210 | thawer.get (formula->title); |
211 | |
211 | |
… | |
… | |
275 | fl->items = formula; |
275 | fl->items = formula; |
276 | } |
276 | } |
277 | break; |
277 | break; |
278 | |
278 | |
279 | default: |
279 | default: |
|
|
280 | delete formula; |
|
|
281 | case KW_object: |
280 | goto next_object; |
282 | goto next_object; |
281 | } |
283 | } |
282 | } |
284 | } |
283 | |
285 | |
284 | next_object: ; |
286 | next_object: ; |