diff options
author | David Phillips <david@sighup.nz> | 2018-08-06 01:30:09 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2018-08-06 01:30:09 +1200 |
commit | e4e292fce970257a7ee09f547cb905794af1a8d4 (patch) | |
tree | b3060d84843b1bb56dab7c6013d226d5d37ae653 /lex.h | |
parent | 948160bed032bbfe174fb7b8e25a2b772e6c3369 (diff) | |
download | hence-e4e292fce970257a7ee09f547cb905794af1a8d4.tar.xz |
lex: add filename to error
Brings lexing error message format more into line with parser
Diffstat (limited to 'lex.h')
-rw-r--r-- | lex.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5,7 +5,7 @@ #include "token.h" -struct token* lex_file(FILE*); +struct token* lex_file(const char *, FILE*); const char *get_token_description(enum TOKEN_TYPE); #endif |