[Nice-commit] Nice/src/bossa/parser Parser.jj,1.290,1.291
Brought to you by:
bonniot
|
From: Arjan B. <ar...@us...> - 2004-12-20 17:17:08
|
Update of /cvsroot/nice/Nice/src/bossa/parser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1446/F:/nice/src/bossa/parser Modified Files: Parser.jj Log Message: Converted TypeParameters. Index: Parser.jj =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/parser/Parser.jj,v retrieving revision 1.290 retrieving revision 1.291 diff -C2 -d -r1.290 -r1.291 *** Parser.jj 20 Dec 2004 13:56:14 -0000 1.290 --- Parser.jj 20 Dec 2004 17:16:45 -0000 1.291 *************** *** 674,678 **** last=getToken(0); ! return bossa.syntax.fun.createMonotypeConstructor(t,new TypeParameters(p), makeLocation(first, last)); } --- 674,678 ---- last=getToken(0); ! return bossa.syntax.fun.createMonotypeConstructor(t,bossa.syntax.dispatch.createTypeParameters(p), makeLocation(first, last)); } *************** *** 763,767 **** res = bossa.syntax.fun.createMonotypeConstructor (new TypeIdent(new LocatedString("nice.lang.Array", loc)), ! new TypeParameters(tp), loc); res.nullness = maybe ? res.maybe : res.absent; --- 763,767 ---- res = bossa.syntax.fun.createMonotypeConstructor (new TypeIdent(new LocatedString("nice.lang.Array", loc)), ! bossa.syntax.dispatch.createTypeParameters(tp), loc); res.nullness = maybe ? res.maybe : res.absent; *************** *** 935,939 **** // they should be checked [ "<" params = monotypes() ">" ] ! { return bossa.syntax.fun.createMonotypeConstructor(name, params == null ? null : new TypeParameters(params), name.location()); } } --- 935,939 ---- // they should be checked [ "<" params = monotypes() ">" ] ! { return bossa.syntax.fun.createMonotypeConstructor(name, params == null ? null : bossa.syntax.dispatch.createTypeParameters(params), name.location()); } } |