}
if (len != 0) {
- yyerror ("Invalid number in #if expression");
+ yyerror ("invalid number in #if expression");
return ERROR;
}
/* Sign-extend the constant if chars are signed on target machine. */
{
- if (lookup ((const unsigned char *)"__CHAR_UNSIGNED__",
- sizeof ("__CHAR_UNSIGNED__")-1, -1)
+ if (flag_signed_char == 0
|| ((c >> (CHAR_TYPE_SIZE - 1)) & 1) == 0)
yylval.integer.value = c & ((1 << CHAR_TYPE_SIZE) - 1);
else
yylval.integer.unsignedp = 0;
c = *lexptr++;
if (c != '\'') {
- yyerror ("Invalid character constant in #if");
+ yyerror ("invalid character constant in #if");
return ERROR;
}
}
if (!is_idstart (c)) {
- yyerror ("Invalid token in expression");
+ yyerror ("invalid token in expression");
return ERROR;
}