IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 12, 2007, 2:27:08 PM (19 years ago)
Author:
eugene
Message:

fixed behavior of break under autobreak off

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.basic/run_for.c

    r11084 r14178  
    9191    if (loop_break) break;
    9292  }
     93  /* 'last' and 'next' should only affect one loop */
    9394  loop_last = loop_next = FALSE;
    94   /* 'last' and 'next' should only affect one loop */
     95
     96  /* break should propagate up if auto_break is set */
     97  loop_break = FALSE;
    9598  if (auto_break && !status) loop_break = TRUE;
    9699
Note: See TracChangeset for help on using the changeset viewer.