From 075530a6850ebf899e8874d7675fd900577c9554 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 31 May 2008 09:28:20 +0000 Subject: * suppress warnings with -Wwrite-string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lex.c.blt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lex.c.blt') diff --git a/lex.c.blt b/lex.c.blt index 1b6c31e964..7bf3a8264f 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" -- cgit v1.2.1