diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-24 00:38:53 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-24 00:38:53 +0000 |
| commit | 8ae6b9201f5d3f0256bfed94d48b5906540bda9a (patch) | |
| tree | 33457754cf58dafb6f99e352ad48df30c53f5556 /parse.y | |
| parent | 18727260d256253b968458587cc772c327778eef (diff) | |
| download | ruby-8ae6b9201f5d3f0256bfed94d48b5906540bda9a.tar.gz ruby-8ae6b9201f5d3f0256bfed94d48b5906540bda9a.tar.xz ruby-8ae6b9201f5d3f0256bfed94d48b5906540bda9a.zip | |
* parse.y (arg): should return 0 after error. [ruby-dev:22360]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
| -rw-r--r-- | parse.y | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1038,10 +1038,12 @@ arg : lhs '=' arg | primary_value tCOLON2 tCONSTANT tOP_ASGN arg { yyerror("constant re-assignment"); + $$ = 0; } | tCOLON3 tCONSTANT tOP_ASGN arg { yyerror("constant re-assignment"); + $$ = 0; } | backref tOP_ASGN arg { |
