diff options
author | Jie Zhang <jie.zhang@analog.com> | 2008-08-22 07:21:49 +0000 |
---|---|---|
committer | Jie Zhang <jie.zhang@analog.com> | 2008-08-22 07:21:49 +0000 |
commit | fec8276095570d58a8d32a0956d831e0e58e4981 (patch) | |
tree | 61ada7cbc44715492e58f4334d4c60914e4f0897 /gas/config/bfin-lex.l | |
parent | 73e24c6845aa23ed023402152501009ed1dcc62f (diff) | |
download | gdb-fec8276095570d58a8d32a0956d831e0e58e4981.zip gdb-fec8276095570d58a8d32a0956d831e0e58e4981.tar.gz gdb-fec8276095570d58a8d32a0956d831e0e58e4981.tar.bz2 |
* 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.
Diffstat (limited to 'gas/config/bfin-lex.l')
-rw-r--r-- | gas/config/bfin-lex.l | 2 |
1 files changed, 1 insertions, 1 deletions
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; <KEYWORD>[iI][fF][lL][uU][sS][hH] return IFLUSH; <KEYWORD>[fF][lL][uU][sS][hH][iI][nN][vV] return FLUSHINV; <KEYWORD>[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; } |