Newer
Older
Tardis / lang / error.c
// SPDX-License-Identifier: MIT
// Copyright (c) 2023 John Watts and the LuminaSensum contributors

#include "error.h"
#include <stdio.h>
#include <stdlib.h>

__attribute__((noreturn)) void abort_print(const char *msg) {
	fprintf(stderr, "ERROR: %s\n", msg);
	abort();
}