We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ea128c commit 25da0c9Copy full SHA for 25da0c9
java/src/processing/mode/java/preproc/Processing.g4
@@ -20,8 +20,8 @@ import JavaParser;
20
21
// main entry point, select sketch type
22
processingSketch
23
- : javaProcessingSketch
24
- | staticProcessingSketch
+ : staticProcessingSketch
+ | javaProcessingSketch
25
| activeProcessingSketch
26
// | warnMixedModes
27
;
@@ -33,7 +33,7 @@ javaProcessingSketch
33
34
// No method declarations, just statements
35
staticProcessingSketch
36
- : (importDeclaration | blockStatement)* EOF
+ : (importDeclaration | blockStatement | typeDeclaration)* EOF
37
38
39
// active mode, has function definitions
0 commit comments