diff options
Diffstat (limited to 'tokenizer.c')
-rw-r--r-- | tokenizer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tokenizer.c b/tokenizer.c index 15f7452..17fbde4 100644 --- a/tokenizer.c +++ b/tokenizer.c @@ -168,6 +168,10 @@ static Location token_location(File *file, Token *t) { return loc; } +static void print_token_location(File *file, Token *t) { + print_location(token_location(file, t)); +} + /* for use during tokenization */ static void tokenization_err_( #if ERR_SHOW_SOURCE_LOCATION |