Nice/src/bossa/syntax symbol.nice,1.14,1.15
Arjan Boeijink <[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-serv11888/F:/nice/src/bossa/syntax
Modified Files:
symbol.nice
Log Message:
Fix error message for static fields.
Index: symbol.nice
===================================================================
RCS file: /cvsroot/nice/Nice/src/bossa/syntax/symbol.nice,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** symbol.nice 1 Mar 2005 22:51:12 -0000 1.14
--- symbol.nice 10 Mar 2005 23:42:38 -0000 1.15
***************
*** 325,328 ****
--- 325,334 ----
if (this.isFieldAccess())
{
+ if (this.isStaticFieldAccess())
+ {
+ let JavaFieldAccess f = cast(this.getFieldAccessMethod());
+ return notNull(name) + " is a field of class " + f.className;
+ }
+
if (arguments.size() == 0)
return notNull(name) + " is not defined";
-------------------------------------------------------
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