[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_oper.tc,1.20,1.21
From: |
Gopal.V <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_oper.tc,1.20,1.21 |
Date: |
Tue, 05 Nov 2002 04:55:54 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/cscc/csharp
In directory subversions:/tmp/cvs-serv24320/cscc/csharp
Modified Files:
cs_oper.tc
Log Message:
roberth's patch for fixing stelem.ref
Index: cs_oper.tc
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/csharp/cs_oper.tc,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** cs_oper.tc 27 Oct 2002 19:28:09 -0000 1.20
--- cs_oper.tc 5 Nov 2002 09:55:51 -0000 1.21
***************
*** 677,681 ****
else
{
! /* This is a normal array element */
if(!CSSemExpectValue(expr, info, parent, &value))
{
--- 677,686 ----
else
{
! /* This is a normal array element */
!
! /* Do semantic analysis on expr. Note expr and *parent
! are equivalent at this point, but *parent may be
! updated during semantic analysis. Therefore, we must
! subsequently coerce *parent instead of expr. */
if(!CSSemExpectValue(expr, info, parent, &value))
{
***************
*** 683,687 ****
_("invalid array initializer
element"));
}
! else if(!ILCanCoerceNode(info, expr, CSSemGetType(value), type))
{
CCErrorOnLine(yygetfilename(expr), yygetlinenum(expr),
--- 688,692 ----
_("invalid array initializer
element"));
}
! else if(!ILCanCoerceNode(info, *parent, CSSemGetType(value),
type))
{
CCErrorOnLine(yygetfilename(expr), yygetlinenum(expr),
***************
*** 692,696 ****
else
{
! ILCoerce(info, expr, parent, CSSemGetType(value), type);
}
}
--- 697,701 ----
else
{
! ILCoerce(info, *parent, parent, CSSemGetType(value),
type);
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_oper.tc,1.20,1.21,
Gopal.V <address@hidden> <=