[Nice-commit] Nice/src/bossa/syntax AST.java,1.62,1.63
Brought to you by:
bonniot
From: Arjan B. <ar...@us...> - 2005-02-16 23:24:57
|
Update of /cvsroot/nice/Nice/src/bossa/syntax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18035/F:/nice/src/bossa/syntax Modified Files: AST.java Log Message: Avoid NPE when compiling empty packages. Index: AST.java =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/AST.java,v retrieving revision 1.62 retrieving revision 1.63 diff -C2 -d -r1.62 -r1.63 *** AST.java 26 Nov 2004 20:26:01 -0000 1.62 --- AST.java 16 Feb 2005 23:24:49 -0000 1.63 *************** *** 27,30 **** --- 27,32 ---- { super(children, propagate); + if (this.children == null) + this.children = new LinkedList(); } |