aboutsummaryrefslogtreecommitdiffstats
path: root/Source/tokens.h
diff options
context:
space:
mode:
authorjakob <jakob@eggerapps.at>2009-03-16 11:27:49 +0000
committerjakob <jakob@eggerapps.at>2009-03-16 11:27:49 +0000
commit425b9cc1358c553b97cba4e289e4df4da14ffff4 (patch)
tree4321fcb3be58b38c5fc427a8b13485225cde702b /Source/tokens.h
parentadabf0e6b096824ab01fc02cb7c9d2cb4c372f9f (diff)
downloadsequelpro-425b9cc1358c553b97cba4e289e4df4da14ffff4.tar.gz
sequelpro-425b9cc1358c553b97cba4e289e4df4da14ffff4.tar.bz2
sequelpro-425b9cc1358c553b97cba4e289e4df4da14ffff4.zip
adding syntax coloring (issue #46 )
Diffstat (limited to 'Source/tokens.h')
-rw-r--r--Source/tokens.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/tokens.h b/Source/tokens.h
new file mode 100644
index 00000000..81ea830f
--- /dev/null
+++ b/Source/tokens.h
@@ -0,0 +1,15 @@
+/*
+ * tokens.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_OTHER 6 \ No newline at end of file