diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-15 02:27:56 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-15 02:27:56 +0000 |
commit | 87025fdd4345f48821236ff19090976bfc11a2bd (patch) | |
tree | 3f70b2c935c7b86d4111cd6c7e4310ea4a550eea /parse.y | |
parent | 0c25b62505c64973876e6281193ea6141d396564 (diff) |
* marshal.c (w_object): dump extended modules as well.
* marshal.c (r_object0): TYPE_USRMARSHAL should restore extended
modules before invoking marshal_load. these two fixes are done
by Masatoshi Seki <m_seki@mva.biglobe.ne.jp>.
* parse.y (yylex): argument parentheses preceded by spaces should
be warned; not error. [ruby-talk:84103]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4029,7 +4029,8 @@ yylex() c = tLPAREN_ARG; } else if (lex_state == EXPR_ARG) { - c = tLPAREN_ARG; + rb_warn("don't put space before argument parentheses"); + c = '('; } } COND_PUSH(0); |