mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
support gperf 3.1
* tool/gperf.sed: extracted sed commands to a script. ANSI-C code produced by gperf 3.1 declares length arguments as `size_t`. it causes conflict with existing declarations, and needs casts for a local variable and return statements. [Feature #13883] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f8659dfd94
commit
a4804fbdf5
15 changed files with 489 additions and 489 deletions
|
@ -2,7 +2,7 @@
|
|||
struct kwtable {int name, id[2], state;};
|
||||
const struct kwtable *rb_reserved_word(const char *, unsigned int);
|
||||
#ifndef RIPPER
|
||||
static const struct kwtable *reserved_word(const char *, unsigned int);
|
||||
/*!ANSI*/static const struct kwtable *reserved_word(const char *, unsigned int);
|
||||
#define rb_reserved_word(str, len) reserved_word(str, len)
|
||||
%}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue