- Timestamp:
- Jan 19, 2011, 3:19:06 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20101205/Ohana/src/opihi/lib.shell/expand_vars.c
r15878 r30300 64 64 /* variable assignment (skip these variables) */ 65 65 if ((L == line) && (V1 != NULL)) { 66 if ((*V1 == '=') || !strcmp (V1, "++") || !strcmp (V1, "--")) { 66 int isAssignment; 67 68 isAssignment = FALSE; 69 isAssignment |= (V1[0] == '='); 70 isAssignment |= (V1[0] == '+') && (V1[1] == '='); 71 isAssignment |= (V1[0] == '-') && (V1[1] == '='); 72 isAssignment |= (V1[0] == '+') && (V1[1] == '+'); 73 isAssignment |= (V1[0] == '-') && (V1[1] == '-'); 74 75 if (isAssignment) { 67 76 *N = *L; 68 77 free (V0);
Note:
See TracChangeset
for help on using the changeset viewer.
