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_while.c

    r10846 r14178  
    9292    free (val);
    9393  } while (logic && !interrupt);
     94  /* 'last' and 'next' should only affect one loop */
    9495  loop_last = loop_next = FALSE;
    95   /* 'last' and 'next' should only affect one loop */
     96
     97  /* break should propagate up if auto_break is set */
     98  loop_break = FALSE;
    9699  if (auto_break && !status) loop_break = TRUE;
    97100
Note: See TracChangeset for help on using the changeset viewer.