diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-02-06 05:56:14 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-02-06 05:56:14 +0000 |
commit | 9b68d667c71480c31ad41a8db1e111995abde73a (patch) | |
tree | e579ffdbb58ea474bb66b5abcfd39c5e3530d1a7 | |
parent | 088474a20dff97f11a71c8f2f5c240bbb0283d46 (diff) | |
download | ruby-9b68d667c71480c31ad41a8db1e111995abde73a.tar.gz |
* ext/pty/pty.c (chfunc): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/ripper/dummyparser.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/ripper/dummyparser.rb b/test/ripper/dummyparser.rb index d9bd69e37c..8a706b558a 100644 --- a/test/ripper/dummyparser.rb +++ b/test/ripper/dummyparser.rb @@ -184,6 +184,14 @@ class DummyParser < Ripper Node.new('assocs', *a) end + def on_word_new + "" + end + + def on_word_add(word, w) + word << w + end + def on_words_new NodeList.new end |