mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 13:49:18 +01:00
still more work on sketchbook, now starting to look at exceptions
This commit is contained in:
@@ -135,6 +135,11 @@ public class PdePreprocessor {
|
||||
name = getFirstClassName(parserAST);
|
||||
}
|
||||
|
||||
// if 'null' was passed in for the name, but this isn't
|
||||
// a 'java' mode class, then there's a problem, so punt.
|
||||
//
|
||||
if (name == null) return null;
|
||||
|
||||
// output the code
|
||||
//
|
||||
PdeEmitter emitter = new PdeEmitter();
|
||||
|
||||
Reference in New Issue
Block a user