2001-08-14 Jeff Johnston <jjohnstn@redhat.com>

* expr.c (operand)[LITERAL_PREFIXDOLLAR_HEX]: Treat $L as
        a label, not a hex constant.

This patch was approved by Nick Clifton.
This commit is contained in:
Jeff Johnston 2001-08-14 20:00:32 +00:00
parent 8aefe91ac7
commit c68012fb32
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-08-14 Jeff Johnston <jjohnstn@redhat.com>
* expr.c (operand)[LITERAL_PREFIXDOLLAR_HEX]: Treat $L as
a label, not a hex constant.
2001-08-13 Nick Clifton <nickc@cambridge.redhat.com>
* config/tc-v850.h: Add missing prototypes.

View File

@ -811,6 +811,9 @@ operand (expressionP)
#ifdef LITERAL_PREFIXDOLLAR_HEX
case '$':
/* $L is the start of a local label, not a hex constant. */
if (* input_line_pointer == 'L')
goto isname;
integer_constant (16, expressionP);
break;
#endif