projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8801c4f
)
Add unparser for variable items.
author
Chris Hanson
<org/chris-hanson/cph>
Sun, 21 Jan 2018 21:27:16 +0000
(13:27 -0800)
committer
Chris Hanson
<org/chris-hanson/cph>
Sun, 21 Jan 2018 21:52:56 +0000
(13:52 -0800)
src/runtime/syntax-items.scm
patch
|
blob
|
history
diff --git
a/src/runtime/syntax-items.scm
b/src/runtime/syntax-items.scm
index b23c904031e3be3b20ebdb8ed0a221684f84fb19..83b9ff7b519c036a46ab5b5ffc1be1eaaf4b293b 100644
(file)
--- a/
src/runtime/syntax-items.scm
+++ b/
src/runtime/syntax-items.scm
@@
-75,6
+75,11
@@
USA.
(make-variable-item name)
variable-item?
(name variable-item/name))
+
+(define-unparser-method variable-item?
+ (simple-unparser-method 'variable-item?
+ (lambda (item)
+ (list (variable-item/name item)))))
\f
;;; Expression items represent any kind of expression other than a
;;; run-time variable or a sequence.