diff options
| author | Yuichi Nishiwaki <[email protected]> | 2013-09-23 19:36:50 -0700 |
|---|---|---|
| committer | Yuichi Nishiwaki <[email protected]> | 2013-09-23 19:36:50 -0700 |
| commit | 0e4a7b2a031caa845d9ce9c97c93e6e1c751d7ec (patch) | |
| tree | 9b83b6839f28cbd2528b0f647ae85d7fcf54d9ef /src/parse.y | |
| parent | eeac4be4ce06542361c61a42a1d413a4098467b5 (diff) | |
| download | mruby-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.y | 2 |
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)) |
