]> git.cworth.org Git - ttt/blobdiff - src/ttt-token.h
2005-11-22 Carl Worth <cworth@cworth.org>
[ttt] / src / ttt-token.h
diff --git a/src/ttt-token.h b/src/ttt-token.h
new file mode 100644 (file)
index 0000000..f063d60
--- /dev/null
@@ -0,0 +1,33 @@
+/* ttt-token.h - token types
+ *
+ * Copyright © 2005 Carl Worth
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * Author: Carl Worth <cworth@cworth.org>
+ */
+
+#include "ttt.h"
+
+#ifndef _TTT_TOKEN_H_
+#define _TTT_TOKEN_H_
+
+typedef enum {
+    TTT_TOKEN_EOF = 0,
+    TTT_TOKEN_STRING,
+    TTT_TOKEN_NEWLINE
+} ttt_token_t;
+
+#endif /* _TTT_TOKEN_H_ */