IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 27, 2006, 10:43:47 AM (20 years ago)
Author:
eugene
Message:

added last, next, return, fixed continue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/lib.shell/exec_loop.c

    r10647 r10846  
    2121
    2222  /* process the list */
    23   loop_continue = loop_break = FALSE;
     23  loop_next = loop_break = loop_last = FALSE;
    2424  status = TRUE;
    2525
     
    3030    free (line);
    3131    if (auto_break && !status) loop_break = TRUE;
    32     if (loop_break || loop_continue) break;
     32    if (loop_break || loop_last || loop_next) break;
    3333  }
    3434  signal (SIGINT, Signal);
     
    4343
    4444/** note that the list number runs from 1 - Nlists+1 **/
    45 /** XXX this is kind of silly: I should simply define a function
    46     to pop next line off the specified list.  review this... **/
Note: See TracChangeset for help on using the changeset viewer.