summaryrefslogtreecommitdiff
path: root/ext/racc/cparse/cparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/racc/cparse/cparse.c')
-rw-r--r--ext/racc/cparse/cparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/racc/cparse/cparse.c b/ext/racc/cparse/cparse.c
index 487784a..8fa1069 100644
--- a/ext/racc/cparse/cparse.c
+++ b/ext/racc/cparse/cparse.c
@@ -820,7 +820,7 @@ void
Init_cparse(void)
{
VALUE Racc, Parser;
- ID id_racc = rb_intern("Racc");
+ ID id_racc = rb_intern_const("Racc");
if (rb_const_defined(rb_cObject, id_racc)) {
Racc = rb_const_get(rb_cObject, id_racc);