diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-21 20:30:53 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-21 20:30:53 +0000 |
commit | 9150340b9bcbe305c2647a8d6f6f8e754769f3e7 (patch) | |
tree | 7b3bcd76d27cb024d578dd177521594f8cbaf59c /parse.y | |
parent | 79f7dfabb69ec435b6b0be5ccb5157cb85e71580 (diff) | |
download | ruby-9150340b9bcbe305c2647a8d6f6f8e754769f3e7.tar.gz |
parse.y: refine warning message
* parse.y (ambiguous_operator): refine warning message, since this
warning is shown after literal too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6786,7 +6786,7 @@ parser_prepare(struct parser_params *parser) #ifndef RIPPER #define ambiguous_operator(op, syn) ( \ - rb_warning0("`"op"' after local variable is interpreted as binary operator"), \ + rb_warning0("`"op"' after local variable or literal is interpreted as binary operator"), \ rb_warning0("even though it seems like "syn"")) #else #define ambiguous_operator(op, syn) dispatch2(operator_ambiguous, ripper_intern(op), rb_str_new_cstr(syn)) |