Project

General

Profile

Bug #6674 ยป not.diff

shugo (Shugo Maeda), 07/04/2012 05:29 PM

View differences:

parse.y
2710 2710
			$$ = dispatch1(begin, $3);
2711 2711
		    %*/
2712 2712
		    }
2713
		| tLPAREN_ARG {lex_state = EXPR_ENDARG;} rparen
2714
		    {
2715
		    /*%%%*/
2716
			$$ = 0;
2717
		    /*%
2718
			$$ = dispatch1(paren, 0);
2719
		    %*/
2720
		    }
2713 2721
		| tLPAREN_ARG expr {lex_state = EXPR_ENDARG;} rparen
2714 2722
		    {
2715 2723
		    /*%%%*/
......
7671 7679
	}
7672 7680
	else if (IS_SPCARG(-1)) {
7673 7681
	    c = tLPAREN_ARG;
7674
	    rb_warning0("(...) interpreted as grouped expression");
7675 7682
	}
7676 7683
	paren_nest++;
7677 7684
	COND_PUSH(0);