diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-01-22 11:42:12 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-01-22 11:42:12 +0100 |
commit | 3123c94b6575ba34eb19446b74e456d410546c73 (patch) | |
tree | 1107b8836e9ca929385756699a2f2fc2b17e8a63 | |
parent | Add trie data structure. (diff) | |
download | calp-3123c94b6575ba34eb19446b74e456d410546c73.tar.gz calp-3123c94b6575ba34eb19446b74e456d410546c73.tar.xz |
Add very simple err header.
-rw-r--r-- | err.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -0,0 +1,7 @@ +#ifndef ERR_H +#define ERR_H + +#include <stdio.h> +#define ERR(s) fprintf(stderr, "ERR (%s:%i): %s\n", __FILE__, __LINE__, s) + +#endif /* ERR_H */ |