From 53fbd413bb8552ad879a97f23ee7eb9bff3e5c41 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 16 May 2009 00:30:16 +0000 Subject: * 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 --- defs/lex.c.src | 2 ++ 1 file changed, 2 insertions(+) (limited to 'defs/lex.c.src') diff --git a/defs/lex.c.src b/defs/lex.c.src index f0d82a766..1b5719aa8 100644 --- a/defs/lex.c.src +++ b/defs/lex.c.src @@ -2,6 +2,8 @@ struct kwtable {const char *name; int id[2]; enum lex_state_e state;}; const struct kwtable *rb_reserved_word(const char *, unsigned int); #ifndef RIPPER +static const struct kwtable *reserved_word(const char *, unsigned int); +#define rb_reserved_word(str, len) reserved_word(str, len) %} struct kwtable; -- cgit