mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-09 05:57:36 +02:00
Converting opcode names to symbols in ast->sexp.
This commit is contained in:
parent
e0151c2a51
commit
5a803b2411
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@
|
|||
(let ((v (lit-value x)))
|
||||
(if (or (pair? v) (null? v) (symbol? v)) `',v v)))
|
||||
((pair? x) (cons (a2s (car x)) (a2s (cdr x))))
|
||||
((opcode? x) (or (opcode-name x) x))
|
||||
((opcode? x) (cond ((opcode-name x) => string->symbol) (else x)))
|
||||
(else x)))))
|
||||
|
||||
;;> @subsubsection{Types}
|
||||
|
|
Loading…
Add table
Reference in a new issue