diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-31 09:28:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-31 09:28:20 +0000 |
commit | 1378795e08d34af6e17cb8ed493f3a1d6693c064 (patch) | |
tree | e0ed4dc43f0d2513c4310696045d2af86baaa6de /lex.c | |
parent | f3c0922a5a2b79ac4e131078adfa2a6314cfb133 (diff) |
* suppress warnings with -Wwrite-string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lex.c')
-rw-r--r-- | lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ /* C code produced by gperf version 2.7.2 */ /* Command-line: gperf -p -j1 -i 1 -g -o -t -N rb_reserved_word -k'1,3,$' ./keywords */ -struct kwtable {char *name; int id[2]; enum lex_state state;}; +struct kwtable {const char *name; int id[2]; enum lex_state state;}; #define TOTAL_KEYWORDS 40 #define MIN_WORD_LENGTH 2 |