summaryrefslogtreecommitdiffstats
path: root/dimension/tokenize.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-10-29 00:56:38 -0400
committerTavian Barnes <tavianator@gmail.com>2009-10-29 00:56:38 -0400
commitf278a3cd3390ee7a0ff0583d4c37c8b414f198e2 (patch)
treeb10eebaa6cc281a971f78807239bab2b42d2df03 /dimension/tokenize.h
parenta9e0784cbcd32dbd6184b280accaafd1c9575ba5 (diff)
downloaddimension-f278a3cd3390ee7a0ff0583d4c37c8b414f198e2.tar.xz
Tokenize all language directives.
Diffstat (limited to 'dimension/tokenize.h')
-rw-r--r--dimension/tokenize.h26
1 files changed, 25 insertions, 1 deletions
diff --git a/dimension/tokenize.h b/dimension/tokenize.h
index 35255c3..77fe784 100644
--- a/dimension/tokenize.h
+++ b/dimension/tokenize.h
@@ -46,8 +46,32 @@ typedef enum {
DMNSN_BOX,
/* Directives (#declare, etc.) */
- DMNSN_INCLUDE, /* Only used internally */
+ DMNSN_BREAK,
+ DMNSN_CASE,
+ DMNSN_DEBUG,
DMNSN_DECLARE,
+ DMNSN_DEFAULT,
+ DMNSN_ELSE,
+ DMNSN_END,
+ DMNSN_ERROR,
+ DMNSN_FCLOSE,
+ DMNSN_FOPEN,
+ DMNSN_IF,
+ DMNSN_IFDEF,
+ DMNSN_IFNDEF,
+ DMNSN_INCLUDE, /* Only used internally */
+ DMNSN_LOCAL,
+ DMNSN_MACRO,
+ DMNSN_RANGE,
+ DMNSN_READ,
+ DMNSN_RENDER,
+ DMNSN_STATISTICS,
+ DMNSN_SWITCH,
+ DMNSN_UNDEF,
+ DMNSN_VERSION,
+ DMNSN_WARNING,
+ DMNSN_WHILE,
+ DMNSN_WRITE,
/* Identifiers */
DMNSN_IDENTIFIER,