change category to categories and other housekeeping notes

This commit is contained in:
Ben Fry
2015-06-24 11:12:55 -04:00
parent 4ae59e12e8
commit 6a8b491282
3 changed files with 26 additions and 10 deletions

View File

@@ -288,10 +288,12 @@ public class PdePreprocessor {
char[] c = searchArea.toCharArray();
int depth = 0;
int closeBrace = -1;
// boolean literal; // inside a quoted literal?
StringBuilder sb = new StringBuilder();
for (int i = openBrace; i < c.length; i++) {
if (c[i] == '{') {
depth++;
// } else if (c[i] == '\'') {
} else if (c[i] == '}') {
depth--;
if (depth == 0) {