Fix preproc skipping one char after a block comment

Fixes #4995
This commit is contained in:
Jakub Valtar
2017-04-09 18:52:46 +02:00
parent a05a375104
commit ea44b6e22b

View File

@@ -811,7 +811,7 @@ public class PdePreprocessor {
boolean terminated = false;
while (i < length - 1) {
if ((program.charAt(i) == '*') && (program.charAt(i + 1) == '/')) {
i += 2;
i++; // advance to the ending '/'
terminated = true;
break;
} else {