From fec8276095570d58a8d32a0956d831e0e58e4981 Mon Sep 17 00:00:00 2001 From: Jie Zhang Date: Fri, 22 Aug 2008 07:21:49 +0000 Subject: * config/bfin-lex.l (NUMBER): Protect special `.'. testsuite/ * gas/bfin/misc.s: New test. * gas/bfin/misc.d: New test. * gas/bfin/bfin.exp: Add misc test. --- gas/config/bfin-lex.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gas/config') diff --git a/gas/config/bfin-lex.l b/gas/config/bfin-lex.l index b2194db..d74c7f3 100644 --- a/gas/config/bfin-lex.l +++ b/gas/config/bfin-lex.l @@ -293,7 +293,7 @@ abort return ABORT; [iI][fF][lL][uU][sS][hH] return IFLUSH; [fF][lL][uU][sS][hH][iI][nN][vV] return FLUSHINV; [fF][lL][uU][sS][hH] return FLUSH; -([0-9]+)|(0[xX][0-9a-fA-F]+)|([bhfodBHOFD]#[0-9a-fA-F]+)|(0.[0-9]+) { +([0-9]+)|(0[xX][0-9a-fA-F]+)|([bhfodBHOFD]#[0-9a-fA-F]+)|(0"."[0-9]+) { yylval.value = parse_int (&yytext); return NUMBER; } -- cgit v1.1