This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH bfin] Fix flex warning
- From: Jie Zhang <jie dot zhang at analog dot com>
- To: Binutils <binutils at sourceware dot org>
- Date: Fri, 4 Sep 2009 01:57:24 +0800
- Subject: [PATCH bfin] Fix flex warning
This patch fixes the following warning when build gas:
/home/jie/sources/binutils/cvs-binutils/src/gas/config/bfin-lex.l:218:
warning, rule cannot be matched
Committed.
Jie
* config/bfin-lex.l: Remove V as STATUS_REG.
Index: config/bfin-lex.l
===================================================================
RCS file: /cvs/src/src/gas/config/bfin-lex.l,v
retrieving revision 1.8
diff -u -p -r1.8 bfin-lex.l
--- config/bfin-lex.l 3 Sep 2009 17:06:38 -0000 1.8
+++ config/bfin-lex.l 3 Sep 2009 17:48:26 -0000
@@ -215,7 +215,6 @@ int yylex (void);
[aA][vV]0[sS] _REG.regno = S_AV0S; return STATUS_REG;
[aA][vV]1 _REG.regno = S_AV1; return STATUS_REG;
[aA][vV]1[sS] _REG.regno = S_AV1S; return STATUS_REG;
-[vV] _REG.regno = S_V; return STATUS_REG;
[vV][sS] _REG.regno = S_VS; return STATUS_REG;