summaryrefslogtreecommitdiff
path: root/lex.h
diff options
context:
space:
mode:
authorthing1 <thing1@seacrossedlovers.xyz>2025-03-14 17:37:27 +0000
committerthing1 <thing1@seacrossedlovers.xyz>2025-03-14 17:37:27 +0000
commitaf780dc32cbc9d9a40bec1e2ea538e71001c36aa (patch)
tree6e1386faa63125ba5537e923b933868699df3156 /lex.h
init commitHEADmaster
Diffstat (limited to 'lex.h')
-rw-r--r--lex.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/lex.h b/lex.h
new file mode 100644
index 0000000..26bac2c
--- /dev/null
+++ b/lex.h
@@ -0,0 +1,13 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <ctype.h>
+
+#include "types.h"
+
+extern char *saveptr;
+
+int lexchar(lexobj *l, char *line, char c);
+int lexchars(lexobj *l, char *line, char *cs);
+lexobj lex(char *line);
+void stripwhitespace(char *line);