summaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-09-19 06:54:11 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-09-19 06:54:11 +0000
commit4f38192327badc642b66fb2e0605b9e70c398b4d (patch)
tree870d126fba698f90bbb07a7bb67ff3aab4103796 /parse.y
parentceb972c776c43e643ad69d3cb88da683f0ec9ea0 (diff)
downloadruby-4f38192327badc642b66fb2e0605b9e70c398b4d.tar.gz
ruby-4f38192327badc642b66fb2e0605b9e70c398b4d.tar.xz
ruby-4f38192327badc642b66fb2e0605b9e70c398b4d.zip
* string.c (rb_str_init): String.new() => ""
* dir.c (dir_path): new method. * dir.c (dir_initialize): wrap DIR into struct, along with path information. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y1
1 files changed, 0 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index c39b2ca3d..c0e14530c 100644
--- a/parse.y
+++ b/parse.y
@@ -3459,7 +3459,6 @@ yylex()
c = tLPAREN_ARG;
}
else if (lex_state == EXPR_ARG) {
- rb_warning("%s (...) interpreted as method call", tok());
c = tLPAREN_ARG;
yylval.id = last_id;
}