mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-02 13:00:26 +02:00
* backtrace.c (scm_backtrace): Split message string across
newlines properly. GCC is more tolerant of this than other compilers.
This commit is contained in:
parent
6dad9cd3c6
commit
23f53cd3e2
1 changed files with 3 additions and 2 deletions
|
@ -484,8 +484,9 @@ scm_backtrace ()
|
||||||
&& !SCM_BACKTRACE_P)
|
&& !SCM_BACKTRACE_P)
|
||||||
{
|
{
|
||||||
scm_gen_puts (scm_regular_string,
|
scm_gen_puts (scm_regular_string,
|
||||||
"Type \"(debug-enable 'backtrace)\" if you would like a backtrace
|
"Type \"(debug-enable 'backtrace)\" if you would like "
|
||||||
automatically if an error occurs in the future.\n",
|
"a backtrace\n"
|
||||||
|
"automatically if an error occurs in the future.\n",
|
||||||
scm_cur_outp);
|
scm_cur_outp);
|
||||||
SCM_SETCDR (scm_has_shown_backtrace_hint_p_var, SCM_BOOL_T);
|
SCM_SETCDR (scm_has_shown_backtrace_hint_p_var, SCM_BOOL_T);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue