Commit 34a0301d authored by Niels Möller's avatar Niels Möller

* src/exception.c (make_report_exception_handler): Use a const

report_exception_info object.
* src/command.c (make_catch_report_apply): Likewise.

Rev: src/command.c:1.48
Rev: src/command.h:1.60
parent 479284bf
......@@ -668,7 +668,7 @@ do_catch_simple(struct command *s,
(name catch_report_apply)
(super command)
(vars
(info object report_exception_info)
(info const object report_exception_info)
(body object command)))
*/
......@@ -686,7 +686,7 @@ do_catch_report_apply(struct command *s,
}
struct command *
make_catch_report_apply(struct report_exception_info *info,
make_catch_report_apply(const struct report_exception_info *info,
struct command *body)
{
NEW(catch_report_apply, self);
......
......@@ -291,11 +291,11 @@ do_catch_simple(struct command *s,
(name catch_report_collect)
(super command)
(vars
(info object report_exception_info)))
(info const object report_exception_info)))
*/
struct command *
make_catch_report_apply(struct report_exception_info *info,
make_catch_report_apply(const struct report_exception_info *info,
struct command *body);
void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment