From f278a3cd3390ee7a0ff0583d4c37c8b414f198e2 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 29 Oct 2009 00:56:38 -0400 Subject: Tokenize all language directives. --- dimension/tokenize.h | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'dimension/tokenize.h') 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, -- cgit v1.2.3