From da9a28e4cc9106a8eba89cc2bf99692c7b3a4baf Mon Sep 17 00:00:00 2001 From: thing1 Date: Mon, 10 Feb 2025 09:27:37 +0000 Subject: added new output formats --- tokens.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tokens.h (limited to 'tokens.h') diff --git a/tokens.h b/tokens.h new file mode 100644 index 0000000..c3305fc --- /dev/null +++ b/tokens.h @@ -0,0 +1,16 @@ +#ifndef __TOKENS_H +#define __TOKENS_H + +typedef enum types { + NIL, + HEADING, + DATE, + TODO, + BULLET, +} types; + +typedef struct token { + char data[256]; + types type; +} token; +#endif -- cgit v1.2.3