summaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-16 00:30:16 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-16 00:30:16 +0000
commit53fbd413bb8552ad879a97f23ee7eb9bff3e5c41 (patch)
treebe8a1daff7f8f2cab4a0129a66bbf30e40099305 /parse.y
parent79e5fec36f647008b973d61ecab363cf76f223ad (diff)
downloadruby-53fbd413bb8552ad879a97f23ee7eb9bff3e5c41.tar.gz
ruby-53fbd413bb8552ad879a97f23ee7eb9bff3e5c41.tar.xz
ruby-53fbd413bb8552ad879a97f23ee7eb9bff3e5c41.zip
* defs/keywords (reserved_word): made inline function static.
[ruby-core:23210] * parse.y (rb_reserved_word): ordinary function for ripper. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y8
1 files changed, 8 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index ec711add0..08a1f365a 100644
--- a/parse.y
+++ b/parse.y
@@ -9715,6 +9715,14 @@ VALUE rb_parser_get_yydebug(VALUE);
VALUE rb_parser_set_yydebug(VALUE, VALUE);
#ifndef RIPPER
+#undef rb_reserved_word
+
+const struct kwtable *
+rb_reserved_word(const char *str, unsigned int len)
+{
+ return reserved_word(str, len);
+}
+
static struct parser_params *
parser_new(void)
{