This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RFA/patch: gas/expr.c: LITERAL_PREFIXPERCENT_BIN


Hi -

May I commit the following patch, which adds a "%" prefix sibling for the 
recently added "$" prefix?

2000-07-17  Frank Ch. Eigler  <fche@redhat.com>

	* expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN
	is defined.

Index: expr.c
===================================================================
RCS file: /cvs/src/src/gas/expr.c,v
retrieving revision 1.19
diff -p -u -r1.19 expr.c
--- expr.c	2000/06/23 10:51:28	1.19
+++ expr.c	2000/07/17 14:54:32
@@ -826,6 +826,12 @@ operand (expressionP)
       break;
 #endif
 
+#ifdef LITERAL_PREFIXPERCENT_BIN
+    case '%':
+      integer_constant (2, expressionP);
+      break;
+#endif
+
     case '0':
       /* non-decimal radix */
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]