Skip to content

Commit 9eda4a1

Browse files
committed
No space is required between #include and '<' or '"'
1 parent 2f06d71 commit 9eda4a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/processing/app/preproc/PdePreprocessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public int writePrefix(String program, String buildPath,
110110
}
111111

112112
//String importRegexp = "(?:^|\\s|;)(import\\s+)(\\S+)(\\s*;)";
113-
String importRegexp = "^\\s*#include\\s+[<\"](\\S+)[\">]";
113+
String importRegexp = "^\\s*#include\\s*[<\"](\\S+)[\">]";
114114
programImports = new ArrayList<String>();
115115

116116
String[][] pieces = PApplet.matchAll(program, importRegexp);

0 commit comments

Comments
 (0)