[Nice-commit] Nice/src/bossa/syntax GlobalTypeScope.java,1.7,1.8
Brought to you by:
bonniot
From: <bo...@us...> - 2003-12-14 08:42:02
|
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) { |