~sircmpwn/hare-xml

9129528dae1aeee1d414d5cfb00643179d14254f — Bor Grošelj Simić 8 months ago ad1fc07
all: resolve name clashes that weren't noticed before

All these issues surfaced after a bugfix that changed type shadowing
logic in harec.

Signed-off-by: Bor Grošelj Simić <bor.groseljsimic@telemach.net>
1 files changed, 2 insertions(+), 2 deletions(-)

M +test.ha
M +test.ha => +test.ha +2 -2
@@ 81,7 81,7 @@ use strings;
	], true);
};

fn xmltest(input: str, expected: []token, error: bool) void = {
fn xmltest(input: str, expected: []token, err: bool) void = {
	let in = bufio::fixed(strings::toutf8(input), io::mode::READ);
	defer io::close(in);
	let parser = parse(in) as *parser;


@@ 109,7 109,7 @@ fn xmltest(input: str, expected: []token, error: bool) void = {
			assert(el == ex);
		};
	};
	if (error) {
	if (err) {
		assert(scan(parser) is error);
	} else {
		assert(scan(parser) is void);