IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 13, 2021, 10:30:23 AM (5 years ago)
Author:
eugene
Message:

improve vector name consistency; remove rotate verbosity

File:
1 edited

Legend:

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

    r41354 r41715  
    131131      p--;
    132132    }
    133     for (w = p - 1; (w >= line) && !OHANA_WHITESPACE(*w) && (isalnum(*w) || (*w == ':') || (*w == '_')); w--);
     133
     134    // Scan backwards for the start of the vector name.  ISVEC is defined in
     135    // include/shell.h.  A vector name cannot include a colon, while a variable name
     136    // cannot include a dot.
     137
     138    for (w = p - 1; (w >= line) && !OHANA_WHITESPACE(*w) && ISVEC(*w); w--);
    134139    w ++;
    135140    n = (int)(p - w);
Note: See TracChangeset for help on using the changeset viewer.