Merge pull request #2313 from GKFX/patch-3

Backtrack after / so that it's not skipped on bracket handling
This commit is contained in:
Ben Fry
2014-01-21 18:19:18 -08:00
+1 -1
View File
@@ -90,7 +90,7 @@ public class Brackets {
readComment(text);
} else if (d == '*') {
readMLComment(text);
}
} else pos--; // Go back because there isn't a comment.
} else if (c == '"' || c == '\'') {
readString(text, c);
} else if (c == '{' || c == '[' || c == '(' || c == '}' || c == ']'