diff options
Diffstat (limited to 'src/export.c')
| -rw-r--r-- | src/export.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/export.c b/src/export.c new file mode 100644 index 0000000..3477ef6 --- /dev/null +++ b/src/export.c | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | #include <stdlib.h> | ||
| 2 | #include "utils.h" | ||
| 3 | #include "lexeme.h" | ||
| 4 | #include "lexer.c" | ||
| 5 | |||
| 6 | int | ||
| 7 | main (int argc, char *argv[]) | ||
| 8 | { | ||
| 9 | UNUSED (argc); | ||
| 10 | UNUSED (argv); | ||
| 11 | |||
| 12 | for (enum lexeme_kind kind = 1; kind < LEXEME_KIND_COUNT; ++kind) { | ||
| 13 | printf ("- %s --- =%s=\n", | ||
| 14 | lexeme_kind_names[kind - 1], | ||
| 15 | lexeme_regex_strings[kind - 1]); | ||
| 16 | } | ||
| 17 | |||
| 18 | return EXIT_SUCCESS; | ||
| 19 | } | ||
