mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 05:50:26 +02:00
Fix the REPL's `,compile' command.
* module/system/repl/command.scm (compile): Use `guile:disassemble' instead of the former `disassemble-objcode'.
This commit is contained in:
parent
0ba0b38489
commit
81e002fcb9
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ Generate compiled code.
|
|||
-O Enable optimization
|
||||
-D Add debug information"
|
||||
(let ((x (apply repl-compile repl (repl-parse repl form) opts)))
|
||||
(cond ((objcode? x) (disassemble-objcode x))
|
||||
(cond ((objcode? x) (guile:disassemble x))
|
||||
(else (repl-print repl x)))))
|
||||
|
||||
(define guile:compile-file compile-file)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue