Project

General

Profile

Bug #5449 ยป parse.y.patch

technohippy (Yasushi ANDO), 10/19/2011 11:44 AM

View differences:

parse.y
1917 1917
			$$ = dispatch2(assign, $1, dispatch2(rescue_mod, $3, $5));
1918 1918
		    %*/
1919 1919
		    }
1920
		| tCONSTANT tOP_ASGN arg
1921
		    {
1922
		    /*%%%*/
1923
			yyerror("constant re-assignment");
1924
			$$ = NEW_BEGIN(0);
1925
		    /*%
1926
			$$ = dispatch3(opassign, $1, $2, $3);
1927
			$$ = dispatch1(assign_error, $$);
1928
		    %*/
1929
		    }
1920 1930
		| var_lhs tOP_ASGN arg
1921 1931
		    {
1922 1932
		    /*%%%*/