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 /hence.c | |
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 'hence.c')
-rw-r--r-- | hence.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ int main(int argc, char **argv) { return 1; } - struct token *tok = lex_file(fd); + struct token *tok = lex_file(argv[1], fd); int p = parse(argv[1], fd, tok); // gate_set_input("a", LOGIC_LOW); |