IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 19, 2022, 6:39:42 AM (4 years ago)
Author:
eugene
Message:

add unary string-valued scalar functions (isflt, isnan, isword, isnum)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20211108/Ohana/src/opihi/lib.shell/evaluate_stack.c

    r41363 r41991  
    124124        THREE_OP (ST_SCALAR_INT,SSS_trinary);
    125125
    126         /* there are no valid unary string operators */
     126        /* there are no valid trinary string operators */
    127127        snprintf (line, 512, "invalid operands for trinary operator %s (mismatch types?)\n(Note that the : in a trinary operation must be protected by spaces)", stack[i].name);
    128128        push_error (line);
     
    260260        ONE_OP (ST_SCALAR_FLT, S_unary);
    261261
    262         /* there are no valid unary string operators */
     262        ONE_OP (ST_STRING, W_unary);
     263
    263264        snprintf (line, 512, "invalid operand for unary operator %s (undefined value?)", stack[i].name);
    264265        push_error (line);
Note: See TracChangeset for help on using the changeset viewer.