[Nice-commit] Nice/src/bossa/syntax analyse.nice,1.78,1.79
Brought to you by:
bonniot
From: <bo...@us...> - 2003-08-24 18:09:55
|
Update of /cvsroot/nice/Nice/src/bossa/syntax In directory sc8-pr-cvs1:/tmp/cvs-serv10584/src/bossa/syntax Modified Files: analyse.nice Log Message: Clearer error message when a type constant is not declared. Index: analyse.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/analyse.nice,v retrieving revision 1.78 retrieving revision 1.79 diff -C2 -d -r1.78 -r1.79 *** analyse.nice 31 Jul 2003 19:32:05 -0000 1.78 --- analyse.nice 24 Aug 2003 18:09:53 -0000 1.79 *************** *** 552,556 **** if (type == null) ! throw unknownIdent(name); e.value = object(type); --- 552,556 ---- if (type == null) ! throw new bossa.util.UserError(name, "Class " + name + " is not declared"); e.value = object(type); |