FreeBSD/contrib/gcc/c-common.c
/* Print an error message for an invalid lvalue.  USE says
   how the lvalue is being used and so selects the error message.  */
Print an error message for an invalid lvalue.  USE says
how the lvalue is being used and so selects the error message.
Print an error message for an invalid lvalue . USE says how the lvalue is being used and so selects the error message .
void
lvalue_error (enum lvalue_use use)
{
  switch (use)
    {
    case lv_assign:
      error ("lvalue required as left operand of assignment");
      break;
    case lv_increment:
      error ("lvalue required as increment operand");
      break;
    case lv_decrement:
      error ("lvalue required as decrement operand");
      break;
    case lv_addressof:
      error ("lvalue required as unary %<&%> operand");
      break;
    case lv_asm:
      error ("lvalue required in asm statement");
      break;
    default:
      gcc_unreachable ();
    }
}
void lvalue_error ( enum lvalue_use use ) { switch ( use ) { case lv_assign : error ( " " ) ; break ; case lv_increment : error ( " " ) ; break ; case lv_decrement : error ( " " ) ; break ; case lv_addressof : error ( " " ) ; break ; case lv_asm : error ( " " ) ; break ; default : gcc_unreachable ( ) ; } }
Print an error message for an invalid lvalue.
Print an error message for an invalid lvalue .