~ecs/madeline

c693a0a797849cff0ac629c83e21f028fa60bff6 — Sebastian 2 months ago 24e5612 madeline
Update per breaking stdlib changes

Signed-off-by: Sebastian <sebastian@sebsite.pw>
2 files changed, 2 insertions(+), 2 deletions(-)

M made/config.ha
M made/hist.ha
M made/config.ha => made/config.ha +1 -1
@@ 225,7 225,7 @@ fn parse_event(tok: *strings::tokenizer, b: *binding) (event | done | error) = {
					yield r;
				};
				if (r != 'u') yield :error;
				r = strconv::stou32b(strings::iterstr(&it),
				r = strconv::stou32(strings::iterstr(&it),
					strconv::base::HEX)?: rune;
				return (r, m): event;
			} else if (strings::next(&it) is done) {

M made/hist.ha => made/hist.ha +1 -1
@@ 30,7 30,7 @@ export fn histmem() history = history {
// it doesn't already exist.
export fn histfile(p: str) (history | error) = {
	const file = os::create(p, fs::mode::USER_RW,
		fs::flag::RDWR, fs::flag::CREATE, fs::flag::APPEND)?;
		fs::flag::RDWR | fs::flag::CREATE | fs::flag::APPEND)?;
	let store = histhandle(file)?;
	store.source = os::open(p)?;
	let off = io::seek(store.storage, 0, io::whence::CUR)?;