diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-05-07 18:41:19 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-05-07 18:41:19 -0700 |
commit | 221ccec4dfa6c4b7f86ccad5c74cd55c2a52fd18 (patch) | |
tree | dbde2f1cccb2a7be872658127d6e5cacb4731811 | |
parent | 64722065bb9cecb63c9336e43397f402dd911c5f (diff) | |
download | txr-221ccec4dfa6c4b7f86ccad5c74cd55c2a52fd18.tar.gz txr-221ccec4dfa6c4b7f86ccad5c74cd55c2a52fd18.tar.bz2 txr-221ccec4dfa6c4b7f86ccad5c74cd55c2a52fd18.zip |
Redundant addr in printed rep of string-input-stream.
* stream.c (string_in_get_prop): Do not format stream address
into name; the general stream_print_op already adds that.
-rw-r--r-- | stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1573,7 +1573,7 @@ static val string_in_get_prop(val stream, val ind) struct string_in *s = coerce(struct string_in *, stream->co.handle); struct strm_ops *ops = coerce(struct strm_ops *, stream->co.ops); val name = static_str(ops->name); - return format(nil, lit("~a ~s ~p"), name, s->string, stream, nao); + return format(nil, lit("~a ~s"), name, s->string, nao); } return nil; |