[Nice-commit] Nice/src/bossa/syntax symbol.nice,1.12,1.13
Brought to you by:
bonniot
|
From: Daniel B. <bo...@us...> - 2005-02-21 19:04:30
|
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; } } |