[Nice-commit] Nice/src/bossa/modules Package.java,1.110,1.111
Brought to you by:
bonniot
|
From: <bo...@us...> - 2004-02-15 19:29:53
|
Update of /cvsroot/nice/Nice/src/bossa/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3221/src/bossa/modules Modified Files: Package.java Log Message: Put some valid (if misleading) value as SourceFile of generated classes to make some tools happy. The real info is in SourceDebugExtension anyway. Index: Package.java =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/modules/Package.java,v retrieving revision 1.110 retrieving revision 1.111 diff -C2 -d -r1.110 -r1.111 *** Package.java 11 Feb 2004 13:30:20 -0000 1.110 --- Package.java 15 Feb 2004 19:22:10 -0000 1.111 *************** *** 681,685 **** res.setSimple(true); res.body = QuoteExp.voidExp; ! res.setFile(source.getName()); res.needsConstructor = true; return res; --- 681,687 ---- res.setSimple(true); res.body = QuoteExp.voidExp; ! // This is not true, but useful to make some Java-centric tools happy. ! // The real file info in the the SourceDebugExtension attribute. ! res.setFile(name.substring(name.lastIndexOf('.') + 1) + ".nice"); res.needsConstructor = true; return res; |