summaryrefslogtreecommitdiff
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
commitf550e69efc38c659575e0bca179475ddb714cddd (patch)
treeac0bd072f77833edcba8d46083d4139e513d7595 /parse.y
parent808e9289e6031eba0241e7be159669f8fd0073a3 (diff)
* parse.y (arg_ambiguous): hopefully better message.
* lib/cgi.rb (CGI::QueryExtension::initialize_query): to_ary git-svn-id: svn+ssh://ci.ruby-lang.org/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 8d8ad5e..2ee3338 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)