summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse.y b/parse.y
index 328c7c604c..c9cd631254 100644
--- a/parse.y
+++ b/parse.y
@@ -8239,7 +8239,7 @@ static struct symbols {
VALUE op_sym[tLAST_TOKEN];
} global_symbols = {tLAST_TOKEN};
-static struct st_hash_type symhash = {
+static const struct st_hash_type symhash = {
rb_str_cmp,
rb_str_hash,
};
@@ -8264,7 +8264,7 @@ ivar2_hash(struct ivar2_key *key)
return (key->id << 8) ^ (key->klass >> 2);
}
-static struct st_hash_type ivar2_hash_type = {
+static const struct st_hash_type ivar2_hash_type = {
ivar2_cmp,
ivar2_hash,
};