From 28529ea0bde87be5367545d06a3efd5e3fff8366 Mon Sep 17 00:00:00 2001 From: jdf Date: Fri, 12 Mar 2010 21:12:45 +0000 Subject: [PATCH] Can't reproduce bug that necessitated this hack, so took the hack out. Confirm? --- app/src/processing/app/preproc/PdePreprocessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/processing/app/preproc/PdePreprocessor.java b/app/src/processing/app/preproc/PdePreprocessor.java index 52e955d07..04037c7d9 100644 --- a/app/src/processing/app/preproc/PdePreprocessor.java +++ b/app/src/processing/app/preproc/PdePreprocessor.java @@ -183,7 +183,7 @@ public class PdePreprocessor { // if the program ends with no CR or LF an OutOfMemoryError will happen. // not gonna track down the bug now, so here's a hack for it: // http://dev.processing.org/bugs/show_bug.cgi?id=5 - program += "\n"; + //program += "\n"; // fixed by jdf? Can't reproduce. // if the program ends with an unterminated multi-line comment, // an OutOfMemoryError or NullPointerException will happen.