diff options
Diffstat (limited to 'src/core/location.c')
-rw-r--r-- | src/core/location.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/location.c b/src/core/location.c new file mode 100644 index 0000000..9f8de09 --- /dev/null +++ b/src/core/location.c @@ -0,0 +1,5 @@ +#include "location.h" + +void sand_print_location(FILE *stream, const SandLocation *location) { + fprintf(stream, "%s:%u:%u", location->filename, location->start_line + 1, location->start_column); +} |