Nice/src/bossa/syntax AST.java,1.62,1.63
Arjan Boeijink <[email protected]>
| Newsgroups | gmane.comp.lang.nice.cvs |
|---|---|
| Message-ID | <[email protected]> |
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();
}
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click