[Nice-commit] Nice/src/bossa/parser Parser.jj,1.283,1.284
Brought to you by:
bonniot
From: Arjan B. <ar...@us...> - 2004-12-16 16:21:15
|
Update of /cvsroot/nice/Nice/src/bossa/parser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5485/F:/nice/src/bossa/parser Modified Files: Parser.jj Log Message: Converted MonotypeConstructor. Index: Parser.jj =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/parser/Parser.jj,v retrieving revision 1.283 retrieving revision 1.284 diff -C2 -d -r1.283 -r1.284 *** Parser.jj 15 Dec 2004 03:45:58 -0000 1.283 --- Parser.jj 16 Dec 2004 16:21:06 -0000 1.284 *************** *** 674,678 **** last=getToken(0); ! return new MonotypeConstructor(t,new TypeParameters(p), makeLocation(first, last)); } --- 674,678 ---- last=getToken(0); ! return bossa.syntax.dispatch.createMonotypeConstructor(t,new TypeParameters(p), makeLocation(first, last)); } *************** *** 761,765 **** tp.add(res); Location loc = res.location(); ! res = new MonotypeConstructor (new TypeIdent(new LocatedString("nice.lang.Array", loc)), new TypeParameters(tp), --- 761,765 ---- tp.add(res); Location loc = res.location(); ! res = bossa.syntax.dispatch.createMonotypeConstructor (new TypeIdent(new LocatedString("nice.lang.Array", loc)), new TypeParameters(tp), *************** *** 935,939 **** // they should be checked [ "<" params = monotypes() ">" ] ! { return new MonotypeConstructor(name, params == null ? null : new TypeParameters(params), name.location()); } } --- 935,939 ---- // they should be checked [ "<" params = monotypes() ">" ] ! { return bossa.syntax.dispatch.createMonotypeConstructor(name, params == null ? null : new TypeParameters(params), name.location()); } } |