aboutsummaryrefslogtreecommitdiff
path: root/src/hyper/token.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hyper/token.h')
-rw-r--r--src/hyper/token.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hyper/token.h b/src/hyper/token.h
index e840ec42..c9bdf121 100644
--- a/src/hyper/token.h
+++ b/src/hyper/token.h
@@ -51,7 +51,7 @@
typedef struct Token {
int type; /* token type. One of those listed below */
- char *id; /* string value if type == Identifier */
+ const char *id; /* string value if type == Identifier */
} Token;
/*
@@ -239,7 +239,7 @@ typedef enum openaxiom_token_kind {
} openaxiom_token_kind;
-extern char *token_table[];
+extern const char *token_table[];
/* places from which input may be read */