hare

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

commit 2ccd724e8b163165a721694f3dad171abcc4e3ce
parent d64e9e57870e8e4abf32839f4a67add77f3cd34d
Author: Sebastian <sebastian@sebsite.pw>
Date:   Sat,  5 Aug 2023 20:39:04 -0400

mime: fix compilation on +libc

Diffstat:
Mmime/parse.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mime/parse.ha b/mime/parse.ha @@ -32,7 +32,7 @@ export fn parse(in: str) ((str, type_params) | errors::invalid) = { // object that was prepared via [[parse]], void if there are no remaining // parameters, and [[errors::invalid]] if a syntax error was encountered. export fn next_param(in: *type_params) ((str, str) | void | errors::invalid) = { - const tok = match (strings::next_token(in)) { + const tok = match (strings::next_token(in: *strings::tokenizer)) { case let s: str => if (s == "") { // empty parameter