Update of /cvsroot/nice/Nice/src/bossa/syntax
In directory sc8-pr-cvs1:/tmp/cvs-serv7494/src/bossa/syntax
Modified Files:
GlobalTypeScope.java
Log Message:
Allow lookups directly on LocatedStrings.
Index: GlobalTypeScope.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/bossa/syntax/GlobalTypeScope.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** GlobalTypeScope.java 3 Dec 2003 21:50:41 -0000 1.7
--- GlobalTypeScope.java 13 Dec 2003 14:51:48 -0000 1.8
***************
*** 46,49 ****
--- 46,54 ----
}
+ public TypeConstructor globalLookup(LocatedString name)
+ {
+ return globalLookup(name.toString(), name.location());
+ }
+
public TypeConstructor globalLookup(String name, Location loc)
{
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|