From 977e771a09fb3870290c592587fde58a8848f740 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Mon, 17 Jul 2000 17:51:18 +0000 Subject: [PATCH] * new parsing option 2000-07-17 Frank Ch. Eigler * expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN is defined. --- gas/ChangeLog | 5 +++++ gas/expr.c | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index e03dbb97e65..207a576e2fc 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2000-07-17 Frank Ch. Eigler + + * expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN + is defined. + 2000-07-15 Ian Lance Taylor * doc/c-mips.texi (MIPS Opts): Remove erroneous space after diff --git a/gas/expr.c b/gas/expr.c index fe2aa6204e1..3365893ca9a 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 */ -- 2.30.2