Browse Source

better parse errors in examples tests

master
Martin Dørum 7 months ago
parent
commit
7cf5f64f60
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      test/src/examples.t.c

+ 1
- 1
test/src/examples.t.c View File

@@ -88,7 +88,7 @@ static void check_impl(const char *name) {
free(bytecode.mem);
fclose(input.f);
error_message = err.message;
snow_fail("%s: %s", example_path, err.message);
snow_fail("%s:%i:%i: %s", example_path, err.line, err.ch, err.message);
}

l2_gen_free(&gen);

Loading…
Cancel
Save