From 8bbefe95d25fa2981add4df35bdd9903c91a8e62 Mon Sep 17 00:00:00 2001 From: Martin Michalec Date: Sun, 8 Nov 2026 08:13:29 +0300 Subject: publish --- src/export.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/export.c (limited to 'src/export.c') 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 @@ +#include +#include "utils.h" +#include "lexeme.h" +#include "lexer.c" + +int +main (int argc, char *argv[]) +{ + UNUSED (argc); + UNUSED (argv); + + for (enum lexeme_kind kind = 1; kind < LEXEME_KIND_COUNT; ++kind) { + printf ("- %s --- =%s=\n", + lexeme_kind_names[kind - 1], + lexeme_regex_strings[kind - 1]); + } + + return EXIT_SUCCESS; +} -- cgit v1.3.1