IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 29, 2006, 9:59:45 AM (20 years ago)
Author:
eugene
Message:

fixed evaluation of zero-padded ints

File:
1 edited

Legend:

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

    r6249 r6250  
    1414      stack[i].Float = strtod (stack[i].name, &c);
    1515      if (c == stack[i].name + strlen (stack[i].name)) {
    16         # if (0)
    17         if (Nstack == 1) {
    18           stack[i].type = 'W';
    19         } else {
    20           stack[i].ptr   = &(stack[i].Float);
    21           stack[i].type  = 'S';
    22         }
    23         # endif
    2416        stack[i].ptr   = &(stack[i].Float);
    2517        stack[i].type  = 'S';
     
    7163      /* this is not a scalar, vector, or matrix.  must be string */
    7264      stack[i].type  = 'W';
    73        
    74       /* let's not consider this an error
    75       sprintf (line, "unknown object %s", stack[i].name);
    76       push_error (line);
    77       return (-1);
    78       */
    7965    }
    8066  }
Note: See TracChangeset for help on using the changeset viewer.