summaryrefslogtreecommitdiffstats
path: root/dimension/tokenize.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-10-29 21:50:58 -0400
committerTavian Barnes <tavianator@gmail.com>2009-10-29 21:50:58 -0400
commit7c414dea9bb4c65d6a0e4426a0d6ac172500f4b6 (patch)
tree177a1105a14f8125c3e6e532e589ee00b02b444a /dimension/tokenize.h
parent6ecfb43aace8231d5fcb1499c286ddedec19577a (diff)
downloaddimension-7c414dea9bb4c65d6a0e4426a0d6ac172500f4b6.tar.xz
Correctly tokenize <=, >= and !=.
Diffstat (limited to 'dimension/tokenize.h')
-rw-r--r--dimension/tokenize.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/dimension/tokenize.h b/dimension/tokenize.h
index 92ae11a..894ee13 100644
--- a/dimension/tokenize.h
+++ b/dimension/tokenize.h
@@ -27,21 +27,24 @@ typedef enum {
DMNSN_T_RPAREN, /* ) */
DMNSN_T_LBRACKET, /* [ */
DMNSN_T_RBRACKET, /* ] */
- DMNSN_T_LT, /* < */
- DMNSN_T_GT, /* > */
DMNSN_T_PLUS, /* + */
DMNSN_T_MINUS, /* - */
DMNSN_T_STAR, /* * */
DMNSN_T_SLASH, /* / */
DMNSN_T_COMMA, /* , */
- DMNSN_T_EQUALS, /* = */
DMNSN_T_SEMICOLON, /* ; */
DMNSN_T_QUESTION, /* ? */
DMNSN_T_COLON, /* : */
DMNSN_T_AND, /* & */
- DMNSN_T_BANG, /* ! */
DMNSN_T_DOT, /* . */
DMNSN_T_PIPE, /* | */
+ DMNSN_T_LESS, /* < */
+ DMNSN_T_GREATER, /* > */
+ DMNSN_T_BANG, /* ! */
+ DMNSN_T_EQUALS, /* = */
+ DMNSN_T_LESS_EQUAL, /* <= */
+ DMNSN_T_GREATER_EQUAL, /* >= */
+ DMNSN_T_NOT_EQUAL, /* != */
/* Numeric values */
DMNSN_T_INTEGER,