summaryrefslogtreecommitdiff
path: root/tokens.h
diff options
context:
space:
mode:
authorthing1 <thing1@seacrossedlovers.xyz>2025-02-10 09:27:37 +0000
committerthing1 <thing1@seacrossedlovers.xyz>2025-02-10 09:27:37 +0000
commitda9a28e4cc9106a8eba89cc2bf99692c7b3a4baf (patch)
treecc6d561566e4c2754efac952a4652a36d97aa2d8 /tokens.h
parent9a9bd6657dc82662567b748434a8547acc7c0193 (diff)
added new output formats
Diffstat (limited to 'tokens.h')
-rw-r--r--tokens.h16
1 files changed, 16 insertions, 0 deletions
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