mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 22:31:12 +02:00
* backtrace.c (display_backtrace_file): correct a couple of
instances of "file == SCM_BOOL_F" to "SCM_FALSEP (file)" (shouldn't be comparing values directly).
This commit is contained in:
parent
ad2b971d55
commit
084210bf9a
1 changed files with 2 additions and 2 deletions
|
@ -466,8 +466,8 @@ display_backtrace_file (frame, last_file, port, pstate)
|
|||
*last_file = file;
|
||||
|
||||
scm_puts ("In ", port);
|
||||
if (file == SCM_BOOL_F)
|
||||
if (line == SCM_BOOL_F)
|
||||
if (SCM_FALSEP (file))
|
||||
if (SCM_FALSEP (line))
|
||||
scm_puts ("unknown file", port);
|
||||
else
|
||||
scm_puts ("current input", port);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue