mirror of
https://github.com/processing/processing4.git
synced 2026-02-14 10:55:38 +01:00
reverting changes before branching
This commit is contained in:
@@ -135,7 +135,7 @@ public class ErrorCheckerService implements Runnable{
|
||||
/**
|
||||
* Compilation Unit for current sketch
|
||||
*/
|
||||
protected CompilationUnit cu, lastCorrectCu;
|
||||
protected CompilationUnit cu;
|
||||
|
||||
/**
|
||||
* If true, compilation checker will be reloaded with updated classpath
|
||||
@@ -535,10 +535,10 @@ public class ErrorCheckerService implements Runnable{
|
||||
if (problems.length == 0) {
|
||||
syntaxErrors.set(false);
|
||||
containsErrors.set(false);
|
||||
lastCorrectCu = cu;
|
||||
//lastCorrectCu = cu;
|
||||
} else {
|
||||
CompilationUnit cuTemp = null;
|
||||
lastCorrectCu = cuTemp;
|
||||
//lastCorrectCu = cuTemp;
|
||||
syntaxErrors.set(true);
|
||||
containsErrors.set(true);
|
||||
}
|
||||
@@ -567,7 +567,7 @@ public class ErrorCheckerService implements Runnable{
|
||||
cu = (CompilationUnit) parser.createAST(null);
|
||||
else {
|
||||
synchronized (cu) {
|
||||
if (!hasSyntaxErrors())
|
||||
//if (!hasSyntaxErrors())
|
||||
cu = (CompilationUnit) parser.createAST(null);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user