aboutsummaryrefslogtreecommitdiff
path: root/include/lex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lex.h')
-rw-r--r--include/lex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/lex.h b/include/lex.h
index 199ad74..c3d7115 100644
--- a/include/lex.h
+++ b/include/lex.h
@@ -99,6 +99,7 @@ enum lexical_token {
T_COMMENT,
T_NAME,
T_NUMBER,
+ T_CHAR,
T_STRING,
// Magic values
@@ -126,6 +127,7 @@ struct token {
struct location loc;
union {
struct number num;
+ unsigned int chr;
const char *str;
} info;
};