mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 22:10:21 +02:00
Assembler: Cope with non-string port filenames.
Fixes <http://bugs.gnu.org/19354>. Reported by Linas Vepstas <linasvepstas@gmail.com>. * module/system/vm/assembler.scm (write-sources): Intern the filename only if it's a string. (For sockets, the filename is a symbol).
This commit is contained in:
parent
95de4f52a8
commit
015c3c08af
1 changed files with 1 additions and 1 deletions
|
@ -2141,7 +2141,7 @@ procedure with label @var{rw-init}. @var{rw-init} may be false. If
|
|||
;; Guile line and column numbers are 0-indexed, but
|
||||
;; they are 1-indexed for DWARF.
|
||||
(cons (list pc
|
||||
(if file (intern-file file) 0)
|
||||
(if (string? file) (intern-file file) 0)
|
||||
(if line (1+ line))
|
||||
(if col (1+ col)))
|
||||
out))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue