aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPEditorTokens.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-03-26 23:09:23 +0000
committerstuconnolly <stuart02@gmail.com>2009-03-26 23:09:23 +0000
commit5405d049d611adc0a76ec2f1a1d8960b2fe10def (patch)
tree4331deb994b1f805e31113e8d68ffb1fa21d9563 /Source/SPEditorTokens.h
parentf40bcfcf86a4739ab0fe1e0fa26668d23dd834f2 (diff)
downloadsequelpro-5405d049d611adc0a76ec2f1a1d8960b2fe10def.tar.gz
sequelpro-5405d049d611adc0a76ec2f1a1d8960b2fe10def.tar.bz2
sequelpro-5405d049d611adc0a76ec2f1a1d8960b2fe10def.zip
Rename tokens.h to SPEditorTokens.h and tokens.l to SPEditorTokens.l.
Diffstat (limited to 'Source/SPEditorTokens.h')
-rw-r--r--Source/SPEditorTokens.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/Source/SPEditorTokens.h b/Source/SPEditorTokens.h
new file mode 100644
index 00000000..1d854e10
--- /dev/null
+++ b/Source/SPEditorTokens.h
@@ -0,0 +1,17 @@
+/*
+ * SPEditorTokens.h
+ * sequel-pro
+ *
+ * Created by Jakob on 3/15/09.
+ *
+ * This file defines all the tokens used for parsing the source code
+ */
+
+#define SPT_DOUBLE_QUOTED_TEXT 1
+#define SPT_SINGLE_QUOTED_TEXT 2
+#define SPT_BACKTICK_QUOTED_TEXT 3
+#define SPT_RESERVED_WORD 4
+#define SPT_COMMENT 5
+#define SPT_WHITESPACE 6
+#define SPT_WORD 7
+#define SPT_OTHER 8 \ No newline at end of file