mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-17 14:57:03 +00:00
Branches: main, 10.04
Add `list' functionality to ssdebug.
browser/listing.m:
Implement a version of `list_path' which doesn't use C foreign code.
Close opened streams in `list_path'. (not ssdebug related)
ssdb/ssdb.m:
Add commands `list', `list_path', `push_list_dir', `pop_list_dir',
`list_context_lines using the listing.m module. Unlike in mdb, `list'
prints the source code at the call site as that is the information we
currently have.