summaryrefslogtreecommitdiff
path: root/defs
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-22 00:37:09 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-22 00:37:09 +0000
commit26be081f1bfbe9bfa1ef45b14860c64bd409b12b (patch)
tree78ee4b2f5ca62a96388ef5f987c4d11ae787b135 /defs
parentda4d4c002436e0e16da0b3a68c6ba470f85aac17 (diff)
Makefile.in: PIC lex.c
* Makefile.in (lex.c): make position independent table. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'defs')
-rw-r--r--defs/keywords2
-rw-r--r--defs/lex.c.src2
2 files changed, 2 insertions, 2 deletions
diff --git a/defs/keywords b/defs/keywords
index 1b5719a..0a53909 100644
--- a/defs/keywords
+++ b/defs/keywords
@@ -1,5 +1,5 @@
%{
-struct kwtable {const char *name; int id[2]; enum lex_state_e state;};
+struct kwtable {unsigned 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);
diff --git a/defs/lex.c.src b/defs/lex.c.src
index 1b5719a..0a53909 100644
--- a/defs/lex.c.src
+++ b/defs/lex.c.src
@@ -1,5 +1,5 @@
%{
-struct kwtable {const char *name; int id[2]; enum lex_state_e state;};
+struct kwtable {unsigned 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);