Changeset 40330 for trunk/Ohana/src/opihi/lib.shell/parse.c
- Timestamp:
- Jan 31, 2018, 9:46:20 AM (8 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/lib.shell/parse.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.shell/parse.c
r40291 r40330 145 145 /* simple variable assignment */ 146 146 /* dvomath returns a new string, or NULL, with the result of the expression */ 147 /* if dvomath returns NULL, the expression was not a math operation: treat as a string */ 147 148 val = dvomath (1, &V1, &size, 0); 148 149 if (val == NULL) { 149 150 while (OHANA_WHITESPACE (*V1)) V1++; 150 151 val = strcreate (V1); 152 init_error (); 151 153 } 152 154 // save the result
Note:
See TracChangeset
for help on using the changeset viewer.
