03-11-2005, 02:26 PM
MISRA C Steering Team - 2/11/2005
In writing MISRA-C:2004, the use of a loop with two exits was considered acceptable.
One is available for normal exit, and the second for exceptional exits, using the \"break\" statement.
This jump is well constrained unlike \"goto\" which can allow jumps anywhere.
In writing MISRA-C:2004, the use of a loop with two exits was considered acceptable.
One is available for normal exit, and the second for exceptional exits, using the \"break\" statement.
This jump is well constrained unlike \"goto\" which can allow jumps anywhere.