コード例 #1
0
void case_566()
#line 4859 "ps-parser.jay"
{
		Error_SyntaxError (yyToken);
		
		yyVal = new AsDelete (null, GetLocation (yyVals[-1+yyTop]));
	  }
コード例 #2
0
void case_560()
#line 4813 "ps-parser.jay"
{
	  	var expr = yyVals[0+yyTop] as Expression;
	  	if (!(expr is ElementAccess || expr is MemberAccess)) {
			report.Error (7022, GetLocation (yyVals[-1+yyTop]),
				"delete operator may only be used with element access or member access expressions");
	  	}
		yyVal = new AsDelete ((Expression) yyVals[0+yyTop], GetLocation (yyVals[-1+yyTop]));
	  }