Browse Source

revert, msvc doesn't support `#warning'

pre-master-46
rlar 13 years ago
parent
commit
bbdf2a2da0
  1. 6
      src/frontend/inpcom.c

6
src/frontend/inpcom.c

@ -1863,7 +1863,7 @@ inp_fix_ternary_operator_str(char *line, bool all)
all = TRUE; all = TRUE;
// get conditional // get conditional
#warning "FIXME, this is search for beginning of the `conditional' expression is buggy."
//#warning "FIXME, this is search for beginning of the `conditional' expression is buggy."
/* FIXME, `question' might point to the end of this, for example /* FIXME, `question' might point to the end of this, for example
* "(a>2)||(b<4)?" * "(a>2)||(b<4)?"
*/ */
@ -1901,7 +1901,7 @@ inp_fix_ternary_operator_str(char *line, bool all)
*str_ptr = keep; *str_ptr = keep;
// get if // get if
#warning "FIXME, this search for a matching ':' is buggy."
//#warning "FIXME, this search for a matching ':' is buggy."
/* FIXME, str_ptr might look like this here /* FIXME, str_ptr might look like this here
* "(foo+b)*(c?d:e):" * "(foo+b)*(c?d:e):"
*/ */
@ -1923,7 +1923,7 @@ inp_fix_ternary_operator_str(char *line, bool all)
str_ptr = skip_ws(colon + 1); str_ptr = skip_ws(colon + 1);
/* ... : (else) */ /* ... : (else) */
if (*str_ptr == '(') { if (*str_ptr == '(') {
#warning "FIXME, this search for end of `else' expression is buggy."
//#warning "FIXME, this search for end of `else' expression is buggy."
/* FIXME, str_ptr might look like this here /* FIXME, str_ptr might look like this here
* "(foo*2)+3" * "(foo*2)+3"
*/ */

Loading…
Cancel
Save