summaryrefslogtreecommitdiff
path: root/tokens.h
diff options
context:
space:
mode:
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