IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 6, 2005, 10:29:08 AM (21 years ago)
Author:
eugene
Message:

fixed multicommand to parse subcommands sequentially, added modulus operator

File:
1 edited

Legend:

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

    r3922 r4462  
    9494    if (logic) {
    9595      if (*input) {
     96        status = multicommand (input);
    9697        if (ThisList == 0) add_history (input);
    97         status = command (input, &outline);
    98         if (outline != (char *) NULL) free (outline);
    99         if (!status) return (FALSE);
     98        if (auto_break && !status) return (FALSE);
    10099      }
    101     } else {
    102       free (input);
    103     }
     100    }
     101    free (input);
    104102  }
    105103  return (TRUE);
Note: See TracChangeset for help on using the changeset viewer.