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.40,1.41


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

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

Modified Files:
        cs_lvalue.tc 
Log Message:


Report "incorrect number of indicies" using the right line number
information (Bug #3114).


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





reply via email to

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