aboutsummaryrefslogtreecommitdiff
path: root/gas/expr.c
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2000-06-23 10:51:28 +0000
committerFrank Ch. Eigler <fche@redhat.com>2000-06-23 10:51:28 +0000
commited6d6fd3c4a370d8e315cfe55a9971042e8917c9 (patch)
treeb462b337107e3d28b3a30f68af3521de241e95bf /gas/expr.c
parentf7c8887211f063c41e16da38a881b9bf6203f300 (diff)
downloadgdb-ed6d6fd3c4a370d8e315cfe55a9971042e8917c9.zip
gdb-ed6d6fd3c4a370d8e315cfe55a9971042e8917c9.tar.gz
gdb-ed6d6fd3c4a370d8e315cfe55a9971042e8917c9.tar.bz2
* $literal support
2000-06-23 Frank Ch. Eigler <fche@redhat.com> * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX is defined.
Diffstat (limited to 'gas/expr.c')
-rw-r--r--gas/expr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/expr.c b/gas/expr.c
index d082469..fe2aa62 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -820,6 +820,12 @@ operand (expressionP)
expressionP);
break;
+#ifdef LITERAL_PREFIXDOLLAR_HEX
+ case '$':
+ integer_constant (16, expressionP);
+ break;
+#endif
+
case '0':
/* non-decimal radix */