hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit d0c9cd5f8380963cf9e5775a41caf9aea0393a7c
parent 449f390cddf6115f02433f1afcc80bfced4985dc
Author: Drew DeVault <sir@cmpwn.com>
Date:   Tue,  6 Apr 2021 11:01:00 -0400

strio: rename append_rune to appendrune

Diffstat:
Mhare/module/scan.ha | 2+-
Mstrio/ops.ha | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hare/module/scan.ha b/hare/module/scan.ha @@ -350,7 +350,7 @@ export fn parsetags(in: str) ([]tag | void) = { void => break, r: rune => { if (ascii::isalnum(r) || r == '_') { - strio::append_rune(buf, r); + strio::appendrune(buf, r); } else { strings::push(&iter, r); break; diff --git a/strio/ops.ha b/strio/ops.ha @@ -106,5 +106,5 @@ export fn rjoin(st: *io::stream, delim: str, strs: str...) (size | io::error) = }; // Appends a rune to a stream. -export fn append_rune(st: *io::stream, r: rune) (size | io::error) = +export fn appendrune(st: *io::stream, r: rune) (size | io::error) = io::write(st, utf8::encoderune(r));