- Timestamp:
- Nov 22, 2017, 10:38:42 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20170822/src/opihi/lib.shell/evaluate_stack.c
r40168 r40212 188 188 snprintf (line, 512, "syntax error: invalid operand for binary operation: %s or %s\n", stack[i-1].name, stack[i-2].name); 189 189 push_error (line); 190 if (strchr(stack[i-1].name, ':') || strchr(stack[i-2].name, ':')) { 191 snprintf (line, 512, "syntax error: invalid operand for binary operation: %s or %s\n(Note that the : in a trinary operation must be protected by spaces)\n", stack[i-1].name, stack[i-2].name); 192 push_error (line); 193 } 190 194 clear_stack (&tmp_stack); 191 195 return (FALSE);
Note:
See TracChangeset
for help on using the changeset viewer.
