mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
088474a20d
commit
9b68d667c7
1 changed files with 8 additions and 0 deletions
|
|
@ -184,6 +184,14 @@ class DummyParser < Ripper
|
||||||
Node.new('assocs', *a)
|
Node.new('assocs', *a)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def on_word_new
|
||||||
|
""
|
||||||
|
end
|
||||||
|
|
||||||
|
def on_word_add(word, w)
|
||||||
|
word << w
|
||||||
|
end
|
||||||
|
|
||||||
def on_words_new
|
def on_words_new
|
||||||
NodeList.new
|
NodeList.new
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue