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