From a61ad1cef9ef77f9afd67230df5470b6b55525be Mon Sep 17 00:00:00 2001 From: FreeArtMan <=> Date: Thu, 17 Dec 2015 20:59:18 +0000 Subject: Initial commit --- exper.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 exper.c (limited to 'exper.c') diff --git a/exper.c b/exper.c new file mode 100644 index 0000000..1bcf65d --- /dev/null +++ b/exper.c @@ -0,0 +1,15 @@ +#define TOK_NONE 0 +#define TOK_HEX 1 +#define TOK_INT 2 +#define TOK_NL 3 +#define TOK_IF 4 +#define TOK_LBR 5 +#define TOK_RBR 6 +#define TOK_STR 7 + +int dm_current_tok = TOK_NONE; + +#define CT(X) (dm_current_tok = TOK_##X;) + +CT(IF) +CT(STR) -- cgit v1.2.3