diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-08-12 04:40:42 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-08-12 04:40:42 -0700 |
commit | 3739860c11a9cfcdaa4d5d204ea3536784de7bb3 (patch) | |
tree | 8d2bb6bc306f152fada587521629e926815a8499 /gas/itbl-lex.l | |
parent | 1b7868733d45220e63b72a1814f30e090f761821 (diff) | |
download | gdb-3739860c11a9cfcdaa4d5d204ea3536784de7bb3.zip gdb-3739860c11a9cfcdaa4d5d204ea3536784de7bb3.tar.gz gdb-3739860c11a9cfcdaa4d5d204ea3536784de7bb3.tar.bz2 |
Remove trailing spaces in gas
Diffstat (limited to 'gas/itbl-lex.l')
-rw-r--r-- | gas/itbl-lex.l | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gas/itbl-lex.l b/gas/itbl-lex.l index 756d6a8..e97b9cd 100644 --- a/gas/itbl-lex.l +++ b/gas/itbl-lex.l @@ -8,7 +8,7 @@ the Free Software Foundation; either version 3, or (at your option) any later version. - GAS is distributed in the hope that it will be useful, + GAS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. @@ -81,21 +81,21 @@ HEX [0-9A-Fa-f] } ";"|"#" { int c; - while ((c = input ()) != EOF) + while ((c = input ()) != EOF) { - if (c == '\n') + if (c == '\n') { unput (c); break; } } } -"\n" { - insntbl_line++; +"\n" { + insntbl_line++; MDBG (("in lex, NL = %d (x%x)\n", NL, NL)); - return NL; + return NL; } -" "|"\t" { +" "|"\t" { } . { MDBG (("char = %x, %d\n", yytext[0], yytext[0])); @@ -104,9 +104,9 @@ HEX [0-9A-Fa-f] %% #ifndef yywrap -int -yywrap () - { - return 1; +int +yywrap () + { + return 1; } #endif |