aboutsummaryrefslogtreecommitdiff
path: root/gas/config/bfin-lex.l
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-03-10 14:23:58 +0000
committerMike Frysinger <vapier@gentoo.org>2010-03-10 14:23:58 +0000
commitee9e7c780e507060d942a54a6993c6347f876146 (patch)
tree51860cd70f2e155e5e29b0485eeeb6641d4cf623 /gas/config/bfin-lex.l
parent60e1c644b75b371c61367bc4abf0b7ad93b2d236 (diff)
downloadgdb-ee9e7c780e507060d942a54a6993c6347f876146.zip
gdb-ee9e7c780e507060d942a54a6993c6347f876146.tar.gz
gdb-ee9e7c780e507060d942a54a6993c6347f876146.tar.bz2
strip trailing whitespace in Blackfin files
Diffstat (limited to 'gas/config/bfin-lex.l')
-rw-r--r--gas/config/bfin-lex.l18
1 files changed, 9 insertions, 9 deletions
diff --git a/gas/config/bfin-lex.l b/gas/config/bfin-lex.l
index fc65949..6571c8f 100644
--- a/gas/config/bfin-lex.l
+++ b/gas/config/bfin-lex.l
@@ -296,10 +296,10 @@ abort return ABORT;
yylval.value = parse_int (&yytext);
return NUMBER;
}
-[A-Za-z_$.][A-Za-z0-9_$.]* {
+[A-Za-z_$.][A-Za-z0-9_$.]* {
yylval.symbol = symbol_find_or_make (yytext);
symbol_mark_used (yylval.symbol);
- return SYMBOL;
+ return SYMBOL;
}
[0-9][bfBF] {
char *name;
@@ -312,8 +312,8 @@ abort return ABORT;
if ((yylval.symbol != NULL)
&& (S_IS_DEFINED (yylval.symbol)))
return SYMBOL;
- as_bad ("backward reference to unknown label %d:",
- (int) (ref[0] - '0'));
+ as_bad ("backward reference to unknown label %d:",
+ (int) (ref[0] - '0'));
}
else if (ref[1] == 'f' || ref[1] == 'F')
{
@@ -328,8 +328,8 @@ abort return ABORT;
yylval.symbol = symbol_find_or_make (name);
/* We have no need to check symbol properties. */
return SYMBOL;
- }
- }
+ }
+ }
[ \t\n] ;
"/*".*"*/" ;
. return yytext[0];
@@ -416,7 +416,7 @@ static long parse_int (char **end)
break;
/* The assembler allows for fractional constants to be created
- by either the 0.xxxx or the f#xxxx format
+ by either the 0.xxxx or the f#xxxx format
i.e. 0.5 would result in 0x4000
@@ -538,7 +538,7 @@ static int parse_halfreg (Register *r, int cl, char *rt)
/* Our start state is KEYWORD as we have
command keywords such as PREFETCH. */
-void
+void
set_start_state (void)
{
BEGIN KEYWORD;
@@ -548,7 +548,7 @@ set_start_state (void)
#ifndef yywrap
int
yywrap ()
-{
+{
return 1;
}
#endif