diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | stream.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,9 @@ 2015-07-10 Kaz Kylheku <kaz@kylheku.com> + * stream.c (byte_in_unget_byte): Wrong function name in error message. + +2015-07-10 Kaz Kylheku <kaz@kylheku.com> + Fix unget-byte and unget-char on catenated streams. * stream.c (cat_unget_byte, cat_unget_char): Recursive @@ -1074,7 +1074,7 @@ static val byte_in_unget_byte(val stream, int byte) if (bi->index == 0) uw_throwf(file_error_s, - lit("unget-char: cannot push past beginning of byte stream"), + lit("unget-byte: cannot push past beginning of byte stream"), nao); bi->buf[--bi->index] = byte; |