Nice/src/bossa/syntax symbol.nice,1.12,1.13
Daniel Bonniot <[email protected]>
| 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-serv32304/src/bossa/syntax
Modified Files:
symbol.nice
Log Message:
More robust implementation of toString.
Index: symbol.nice
===================================================================
RCS file: /cvsroot/nice/Nice/src/bossa/syntax/symbol.nice,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** symbol.nice 16 Jan 2005 00:28:21 -0000 1.12
--- symbol.nice 21 Feb 2005 19:03:57 -0000 1.13
***************
*** 196,203 ****
toString()
{
! if (type == null)
return notNull(syntacticType) + " " + name;
! return notNull(type) + " " + name;
}
}
--- 196,206 ----
toString()
{
! if (type != null)
! return notNull(type) + " " + name;
!
! if (syntacticType != null)
return notNull(syntacticType) + " " + name;
! return ""name;
}
}
-------------------------------------------------------
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