2 * This file is part of cparser.
3 * Copyright (C) 2012 Matthias Braun <matze@braunis.de>
12 static inline __attribute__((noreturn)) void panic(char const *const file, int const line, char const *const func, char const *const msg)
14 fprintf(stderr, "%s:%d: panic in %s: %s\n", file, line, func, msg);
18 #define panic(msg) panic(__FILE__, __LINE__, __func__, (msg))