aboutsummaryrefslogtreecommitdiff
path: root/binutils/rclex.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-08-12 04:42:37 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-08-12 04:42:37 -0700
commit3aade68889268c7d15e121d6d63cb1b753ec12fa (patch)
tree9fe7a6ce752b4a79bbdaa9bed60c5044c2a3f80c /binutils/rclex.c
parent3739860c11a9cfcdaa4d5d204ea3536784de7bb3 (diff)
downloadgdb-3aade68889268c7d15e121d6d63cb1b753ec12fa.zip
gdb-3aade68889268c7d15e121d6d63cb1b753ec12fa.tar.gz
gdb-3aade68889268c7d15e121d6d63cb1b753ec12fa.tar.bz2
Remove trailing spaces in binutils
Diffstat (limited to 'binutils/rclex.c')
-rw-r--r--binutils/rclex.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/binutils/rclex.c b/binutils/rclex.c
index da63a42..945ab8b 100644
--- a/binutils/rclex.c
+++ b/binutils/rclex.c
@@ -147,7 +147,7 @@ cpp_line (void)
++s;
while (ISSPACE (*s))
++s;
-
+
/* Check for #pragma code_page ( DEFAULT | <nr>). */
len = strlen (s);
mlen = strlen ("pragma");
@@ -703,7 +703,7 @@ rclex_string (void)
c = -1;
}
while (c != -1);
-
+
if (rclex_peekch () == '"')
rclex_readch ();
else
@@ -781,7 +781,7 @@ yylex (void)
/* Clear token. */
rclex_tok_pos = 0;
rclex_tok[0] = 0;
-
+
if ((ch = rclex_readch ()) == -1)
return -1;
if (ch == '\n')
@@ -797,15 +797,15 @@ yylex (void)
cpp_line ();
ch = IGNORED_TOKEN;
break;
-
+
case '{':
ch = IGNORE_CPP (BEG);
break;
-
+
case '}':
ch = IGNORE_CPP (END);
break;
-
+
case '0': case '1': case '2': case '3': case '4':
case '5': case '6': case '7': case '8': case '9':
yylval.i.val = read_digit (ch);