~chrisppy/hare-scfg

41f9913d46d6928d902f58756ddf3304bed620d2 — Chris Palmer 9 months ago 822eb86
change to fromutf8
1 files changed, 1 insertions(+), 1 deletions(-)

M format/scfg/scan.ha
M format/scfg/scan.ha => format/scfg/scan.ha +1 -1
@@ 22,7 22,7 @@ export fn next(s: *scanner) (directive | io::EOF | error) = {

		const line = match (bufio::scanline(s.in)?) {
		case let b: []u8 =>
			yield strings::try_fromutf8(b)?;
			yield strings::fromutf8(b)?;
		case io::EOF =>
			if (len(s.blocks) > 0) {
				return s.lineno: syntaxerr;