Nice/src/bossa/syntax pattern.nice,1.21,1.22

Arjan Boeijink <[email protected]> Fri, 25 Mar 2005 13:47:01 +0000
Newsgroups gmane.comp.lang.nice.cvs
Message-ID <[email protected]>
Update of /cvsroot/nice/Nice/src/bossa/syntax
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16764/F:/nice/src/bossa/syntax

Modified Files:
	pattern.nice 
Log Message:
Avoid using '@' in error messages.

Index: pattern.nice
===================================================================
RCS file: /cvsroot/nice/Nice/src/bossa/syntax/pattern.nice,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** pattern.nice	6 Mar 2005 01:34:26 -0000	1.21
--- pattern.nice	25 Mar 2005 13:46:59 -0000	1.22
***************
*** 675,679 ****
  {
    let res = new StringBuffer();
!   res.append(p.exactlyAt ? "#" : (p.name != null ? "" : "@"));
    
    if (p.typeConstructor != null)
--- 675,679 ----
  {
    let res = new StringBuffer();
!   res.append(p.exactlyAt ? "#" : "");
    
    if (p.typeConstructor != null)
***************
*** 682,687 ****
      res.append(p.tc);
  
!   if (p.name != null)
!     res.append(" " +p.name);
    
    return res.toString();
--- 682,686 ----
      res.append(p.tc);
  
!   res.append(" " + (p.name != null ? notNull(p.name).toString() : "_"));
    
    return res.toString();



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click