summaryrefslogtreecommitdiffhomepage
path: root/src/parse.y
diff options
context:
space:
mode:
authorYuichi Nishiwaki <[email protected]>2013-09-23 19:36:50 -0700
committerYuichi Nishiwaki <[email protected]>2013-09-23 19:36:50 -0700
commit0e4a7b2a031caa845d9ce9c97c93e6e1c751d7ec (patch)
tree9b83b6839f28cbd2528b0f647ae85d7fcf54d9ef /src/parse.y
parenteeac4be4ce06542361c61a42a1d413a4098467b5 (diff)
downloadmruby-0e4a7b2a031caa845d9ce9c97c93e6e1c751d7ec.tar.gz
mruby-0e4a7b2a031caa845d9ce9c97c93e6e1c751d7ec.zip
eliminate use of traditional intern API (mrb_intern()) completely
Diffstat (limited to 'src/parse.y')
-rw-r--r--src/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.y b/src/parse.y
index c9ecc349b..bf4318d68 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -67,7 +67,7 @@ typedef unsigned int stack_type;
static inline mrb_sym
intern_gen(parser_state *p, const char *s)
{
- return mrb_intern(p->mrb, s);
+ return mrb_intern_cstr(p->mrb, s);
}
#define intern(s) intern_gen(p,(s))