[Nice-commit] Nice/src/bossa/syntax FunExp.java,1.39,1.40
Brought to you by:
bonniot
From: <bo...@us...> - 2003-05-09 08:59:14
|
Update of /cvsroot/nice/Nice/src/bossa/syntax In directory sc8-pr-cvs1:/tmp/cvs-serv11924/src/bossa/syntax Modified Files: FunExp.java Log Message: Add location to local functions. Added testcase for functions made of an endless loop: they don't need a trailing return. Index: FunExp.java =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/FunExp.java,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** FunExp.java 26 Feb 2003 17:09:25 -0000 1.39 --- FunExp.java 9 May 2003 08:59:11 -0000 1.40 *************** *** 47,50 **** --- 47,51 ---- this.constraint = cst; this.body = body; + setLocation(body.location()); } |