зеркало из https://github.com/mozilla/pjs.git
fixed return value warning by moving return statement.
This commit is contained in:
Родитель
e76108030e
Коммит
0923d081e7
|
@ -479,7 +479,6 @@ namespace ICodeASM {
|
|||
throw JSParseException (eidDuplicateLabel);
|
||||
}
|
||||
}
|
||||
return firstTokenEnd;
|
||||
} else {
|
||||
/* the thing we scanned was an instruction, search the icode map
|
||||
* for a matching instruction */
|
||||
|
@ -493,7 +492,7 @@ namespace ICodeASM {
|
|||
/* otherwise, choke on it */
|
||||
throw JSParseException (eidUnknownICode);
|
||||
}
|
||||
|
||||
return firstTokenEnd;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -479,7 +479,6 @@ namespace ICodeASM {
|
|||
throw JSParseException (eidDuplicateLabel);
|
||||
}
|
||||
}
|
||||
return firstTokenEnd;
|
||||
} else {
|
||||
/* the thing we scanned was an instruction, search the icode map
|
||||
* for a matching instruction */
|
||||
|
@ -493,7 +492,7 @@ namespace ICodeASM {
|
|||
/* otherwise, choke on it */
|
||||
throw JSParseException (eidUnknownICode);
|
||||
}
|
||||
|
||||
return firstTokenEnd;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче