IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 24, 2007, 6:57:57 PM (19 years ago)
Author:
eugene
Message:

catch mis-match in stack math

File:
1 edited

Legend:

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

    r9194 r15006  
    6767      }
    6868
     69      status = FALSE;
    6970      TWO_OP ("M","M",MM_binary);
    7071      TWO_OP ("M","V",MV_binary);
     
    8182     
    8283      if (!status) {
     84        sprintf (line, "syntax error: invalid operand for binary operation: %s or %s\n", stack[i-1].name, stack[i-2].name);
     85        push_error (line);
    8386        free (tmp_stack.name);
    8487        return (FALSE);
Note: See TracChangeset for help on using the changeset viewer.