Browse Source

bug 337: keep '-' as sign of number following tc1, tc2

pre-master-46
Holger Vogt 8 years ago
parent
commit
530cac53c5
  1. 3
      src/frontend/inpcom.c

3
src/frontend/inpcom.c

@ -5728,7 +5728,8 @@ inp_modify_exp(char* expr)
} else { } else {
wl->wl_word = tprintf("({%s})", buf); wl->wl_word = tprintf("({%s})", buf);
} }
/* '-' following the '=' is attached to number as its sign */
c_arith = TRUE;
} else { } else {
/* {} around all other tokens */ /* {} around all other tokens */
wl->wl_word = tprintf("({%s})", buf); wl->wl_word = tprintf("({%s})", buf);

Loading…
Cancel
Save