* expr.c: If an expression is single comma, then return with

SEG_ABSENT rather than an error - since the sparc front end does
	really strange things with things like fbge,a
This commit is contained in:
Steve Chamberlain 1992-02-26 06:11:47 +00:00
parent 062676eb48
commit 14d3e47bfa
2 changed files with 6 additions and 1 deletions

View file

@ -407,6 +407,7 @@ operand (expressionP)
integer_constant(2, expressionP);
break;
case '0':
case '1':
case '2':
case '3':
@ -542,7 +543,7 @@ operand (expressionP)
}
case ',':
case '\n':
/* can't imagine any other kind of operand */
expressionP->X_seg = SEG_ABSENT;