summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-15 02:27:56 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-15 02:27:56 +0000
commit87025fdd4345f48821236ff19090976bfc11a2bd (patch)
tree3f70b2c935c7b86d4111cd6c7e4310ea4a550eea /parse.y
parent0c25b62505c64973876e6281193ea6141d396564 (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.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 93d395717e..2b466a997f 100644
--- a/parse.y
+++ b/parse.y
@@ -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);