diff options
author | David Phillips <david@sighup.nz> | 2018-08-01 02:04:47 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2018-08-01 02:04:47 +1200 |
commit | 957d77141f56714e9f4551c8d49e6658ff778ce7 (patch) | |
tree | b4d0207a06f12de12c1172312b6ee5de54c79a6f /common.h | |
parent | a2e204aea97e7f844a5303f956c893579a89623e (diff) | |
download | hence-957d77141f56714e9f4551c8d49e6658ff778ce7.tar.xz |
Add line area/span indication to error messages
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,10 @@ #ifndef COMMON_H #define COMMON_H +#include <stdio.h> +#include <stddef.h> + +void indicate_file_area(FILE *fd, size_t line, size_t column, size_t span); #define MIN(a, b) (((a) < (b)) ? (a) : (b)) #endif |