mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Merge pull request #5265 from JakubValtar/fix-scrub-comments
Fix scrub comments for empty block comment /**/
This commit is contained in:
@@ -284,7 +284,7 @@ public class SourceUtils {
|
||||
}
|
||||
break;
|
||||
case IN_BLOCK_COMMENT:
|
||||
if (pch == '*' && ch == '/' && (i - blockStart) > 1) {
|
||||
if (pch == '*' && ch == '/' && (i - blockStart) > 0) {
|
||||
state = OUT;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user