Changeset 41715 for trunk/Ohana/src/opihi/lib.shell/expand_vectors.c
- Timestamp:
- Jul 13, 2021, 10:30:23 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/lib.shell/expand_vectors.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.shell/expand_vectors.c
r41354 r41715 131 131 p--; 132 132 } 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--); 134 139 w ++; 135 140 n = (int)(p - w);
Note:
See TracChangeset
for help on using the changeset viewer.
