diff options
Diffstat (limited to 'test-lexing.c')
-rw-r--r-- | test-lexing.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test-lexing.c b/test-lexing.c index 9db756a..007f404 100644 --- a/test-lexing.c +++ b/test-lexing.c @@ -5,6 +5,7 @@ #include <ctype.h> #include <unistd.h> #include <fcntl.h> + #include "token.h" void callback(struct token *token) @@ -20,6 +21,7 @@ int main(int argc, char **argv) if (fd < 0) die("No such file: %s", argv[1]); + token = tokenize(argv[1], fd); line = token->line; while (token) { |