Add src/theme/xbm/parse.c

This commit is contained in:
Johan Malm 2020-06-23 07:17:07 +01:00
parent d80a7b518f
commit f86394a997
7 changed files with 125 additions and 13 deletions

View file

@ -41,7 +41,7 @@ int main(int argc, char **argv)
char *buffer = read_file(argv[1]);
if (!buffer)
exit(EXIT_FAILURE);
tokens = tokenize(buffer);
tokens = xbm_tokenize(buffer);
free(buffer);
for (struct token *t = tokens; t->type; t++)
printf("%s\n", t->name);