| 247 | **************************************************************************/ |
| 248 | |
| 249 | void reset_explain(agent* thisAgent) |
| 250 | { |
| 251 | |
| 252 | explain_chunk_str* top, *chunk; |
| 253 | |
| 254 | top = thisAgent->explain_chunk_list; |
| 255 | /* AGR 564 In previous statement, current_agent(...) was added. 2-May-94 */ |
| 256 | |
| 257 | while (top != NULL) |
| 258 | { |
| 259 | chunk = top; |
| 260 | top = top->next_chunk; |
| 261 | free_explain_chunk(thisAgent, chunk); |
| 262 | } |
| 263 | |
| 264 | thisAgent->explain_chunk_list = NULL; |
| 265 | /* AGR 564 In previous statement, current_agent(...) was added. 2-May-94 */ |
| 266 | |
| 267 | reset_backtrace_list(thisAgent); |
| 268 | } |
| 269 | |
| 270 | |
| 271 | /*************************************************************************** |
no test coverage detected