Fix JSHint likely-crashing-chrome wierd-label-loop-syntax

This commit is contained in:
Mostafa Eweda 2013-02-17 16:21:06 +02:00
commit 98d59452fe

View file

@ -1923,12 +1923,12 @@ klass:
t = lex.token(); t = lex.token();
loop:
for (;;) { for (;;) {
minus = false; minus = false;
for (;;) { for (;;) {
if (t.type === "special" && t.value === "*/") { if (t.type === "special" && t.value === "*/") {
break loop; minus = false;
continue;
} }
if (t.id !== "(endline)" && t.id !== ",") { if (t.id !== "(endline)" && t.id !== ",") {
break; break;