aboutsummaryrefslogtreecommitdiff
path: root/gas/expr.c
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2000-07-17 17:51:18 +0000
committerFrank Ch. Eigler <fche@redhat.com>2000-07-17 17:51:18 +0000
commit977e771a09fb3870290c592587fde58a8848f740 (patch)
tree77bf82634e5b42f54c564d116f36a1fc5fcbb984 /gas/expr.c
parent2ed78d1b895e70430651b4a05d27f02c4485b667 (diff)
downloadgdb-977e771a09fb3870290c592587fde58a8848f740.zip
gdb-977e771a09fb3870290c592587fde58a8848f740.tar.gz
gdb-977e771a09fb3870290c592587fde58a8848f740.tar.bz2
* new parsing option
2000-07-17 Frank Ch. Eigler <fche@redhat.com> * expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN 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 fe2aa62..3365893 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -826,6 +826,12 @@ operand (expressionP)
break;
#endif
+#ifdef LITERAL_PREFIXPERCENT_BIN
+ case '%':
+ integer_constant (2, expressionP);
+ break;
+#endif
+
case '0':
/* non-decimal radix */