Fix JSHint likely-crashing-chrome wierd-label-loop-syntax
This commit is contained in:
parent
83be0083bb
commit
98d59452fe
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue