dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_lvalue.tc,1.41,1.42


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_lvalue.tc,1.41,1.42
Date: Tue, 15 Apr 2003 21:34:21 -0400

Update of /cvsroot/dotgnu-pnet/pnet/cscc/csharp
In directory subversions:/tmp/cvs-serv14009/cscc/csharp

Modified Files:
        cs_lvalue.tc 
Log Message:


Fix "incorrect number of indicies" again, because the previous fix worked
for 2-dimensional arrays, but not 1-dimensional arrays.


Index: cs_lvalue.tc
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/csharp/cs_lvalue.tc,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -r1.41 -r1.42
*** cs_lvalue.tc        16 Apr 2003 00:52:12 -0000      1.41
--- cs_lvalue.tc        16 Apr 2003 01:34:18 -0000      1.42
***************
*** 1346,1351 ****
                if(numArgs != ILTypeGetRank(CSSemGetType(value)))
                {
!                       CCErrorOnLine(yygetfilename(node->array),
!                                                 yygetlinenum(node->array),
                                                  "incorrect number of indices 
for `%s'",
                                                  
CSTypeToName(CSSemGetType(value)));
--- 1346,1350 ----
                if(numArgs != ILTypeGetRank(CSSemGetType(value)))
                {
!                       CCErrorOnLine(yygetfilename(node), yygetlinenum(node),
                                                  "incorrect number of indices 
for `%s'",
                                                  
CSTypeToName(CSSemGetType(value)));
***************
*** 1367,1372 ****
                if(numArgs != 1)
                {
!                       CCErrorOnLine(yygetfilename(node->array),
!                                                 yygetlinenum(node->array),
                                                  "incorrect number of indices 
for `%s'",
                                                  CSTypeToName(objectType));
--- 1366,1370 ----
                if(numArgs != 1)
                {
!                       CCErrorOnLine(yygetfilename(node), yygetlinenum(node),
                                                  "incorrect number of indices 
for `%s'",
                                                  CSTypeToName(objectType));





reply via email to

[Prev in Thread] Current Thread [Next in Thread]