diff options
Diffstat (limited to 'nqdasm.c')
-rw-r--r-- | nqdasm.c | 16 |
1 files changed, 1 insertions, 15 deletions
@@ -5,25 +5,11 @@ #include <string.h> #include <unistd.h> +#include "common.h" #include "mnemonics.h" const char *progname; -#define ERROR(...) \ - do { \ - fprintf(stderr, "%s: ", progname); \ - fprintf(stderr, __VA_ARGS__); \ - fprintf(stderr, "\n"); \ - } while (0) - -#define PERROR(str) \ - do { \ - int err = errno; \ - fprintf(stderr, "%s: ", progname); \ - errno = err; \ - perror(str); \ - } while (0) - static struct line { int label; uint16_t value; |