mirror of
https://github.com/processing/processing4.git
synced 2026-02-14 10:55:38 +01:00
Update Brackets.java
Fixed bug first spotted at http://code.google.com/p/processing/issues/detail?id=1032 where brackets aren't seen directly after a slash. An example that failed: min(1, x/(1.0)); min(1, x /(1.0));
This commit is contained in:
@@ -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 == ']'
|
||||
|
||||
Reference in New Issue
Block a user