summaryrefslogtreecommitdiffstats
path: root/lex.c.blt
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-31 09:28:20 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-31 09:28:20 +0000
commit99a9915b04100c353fd8d79e6940ce5bde9fb290 (patch)
tree45dd63e7b9262c43ebd8ef19b0057a150d1e3eb5 /lex.c.blt
parenta7fd673519929de15447ed524b3f40d9750e7752 (diff)
downloadruby-99a9915b04100c353fd8d79e6940ce5bde9fb290.tar.gz
ruby-99a9915b04100c353fd8d79e6940ce5bde9fb290.tar.xz
ruby-99a9915b04100c353fd8d79e6940ce5bde9fb290.zip
* suppress warnings with -Wwrite-string.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lex.c.blt')
-rw-r--r--lex.c.blt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lex.c.blt b/lex.c.blt
index 1b6c31e96..7bf3a8264 100644
--- a/lex.c.blt
+++ b/lex.c.blt
@@ -30,7 +30,7 @@ error "gperf generated tables don't work with this execution character set. Plea
#line 1 "keywords"
-struct kwtable {char *name; int id[2]; enum lex_state_e state;};
+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
#line 7 "keywords"
OSZAR »