[Nice-commit] Nice/src/nice/tools/compiler native.nice,1.7,1.8
Brought to you by:
bonniot
From: Arjan B. <ar...@us...> - 2004-10-07 22:04:22
|
Update of /cvsroot/nice/Nice/src/nice/tools/compiler In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13177/F:/nice/src/nice/tools/compiler Modified Files: native.nice Log Message: Don't allow redefinition of parameters in local variables. Index: native.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/nice/tools/compiler/native.nice,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** native.nice 18 Jun 2004 13:16:30 -0000 1.7 --- native.nice 7 Oct 2004 22:03:41 -0000 1.8 *************** *** 43,48 **** "--main=" + pkg + ".fun", "-o", output, jar ]); ! let CharArrayWriter output = new CharArrayWriter(); ! let exitValue = waitFor(p, output); if (exitValue != 0) { --- 43,48 ---- "--main=" + pkg + ".fun", "-o", output, jar ]); ! let CharArrayWriter out = new CharArrayWriter(); ! let exitValue = waitFor(p, out); if (exitValue != 0) { *************** *** 50,54 **** // Print the output of the process ! let in = new BufferedReader(new CharArrayReader(output.toCharArray)); try { for (?String line = in.readLine(); line != null; --- 50,54 ---- // Print the output of the process ! let in = new BufferedReader(new CharArrayReader(out.toCharArray)); try { for (?String line = in.readLine(); line != null; |