summaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-04-22 08:18:19 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-04-22 08:18:19 +0000
commit936bc711cec28cc336fccede492d7ede26aa4c71 (patch)
treeac0bd072f77833edcba8d46083d4139e513d7595 /parse.y
parentf9dda551f865a39d0fba16dbd99fdeee73fe915c (diff)
downloadruby-936bc711cec28cc336fccede492d7ede26aa4c71.tar.gz
ruby-936bc711cec28cc336fccede492d7ede26aa4c71.tar.xz
ruby-936bc711cec28cc336fccede492d7ede26aa4c71.zip
* parse.y (arg_ambiguous): hopefully better message.
* lib/cgi.rb (CGI::QueryExtension::initialize_query): to_ary git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 8d8ad5e3e..2ee33381d 100644
--- a/parse.y
+++ b/parse.y
@@ -3269,7 +3269,7 @@ here_document(here)
static void
arg_ambiguous()
{
- rb_warning("ambiguous first argument; make sure");
+ rb_warning("ambiguous first argument; put parentheses or even spaces");
}
#define IS_ARG() (lex_state == EXPR_ARG || lex_state == EXPR_CMDARG)