public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] gas: delete unnecessary skip of whitespace
@ 2013-10-17 22:27 Gregory Fong
  2013-10-17 22:34 ` Gregory Fong
  0 siblings, 1 reply; 2+ messages in thread
From: Gregory Fong @ 2013-10-17 22:27 UTC (permalink / raw)
  To: binutils; +Cc: Roland McGrath

Was going through fixes for PR14887 and PR14987 and noticed that
there's a whitespace skip that was made unnecessary by
https://sourceware.org/ml/binutils-cvs/2013-06/msg00107.html .

This is pretty minor and could probably just be worked into a larger
cleanup changeset if there are plans for that in the near future.

Checked for regression by running the testsuite.

Regards,

Gregory


gas/
        * config/tc-arm.c (parse_address_main) Delete skip of whitespace
        here as it is no longer needed.

--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -5175,9 +5175,6 @@ parse_address_main (char **str, int i, int
group_relocations,
       return PARSE_OPERAND_SUCCESS;
     }

-  /* PR gas/14887: Allow for whitespace after the opening bracket.  */
-  skip_whitespace (p);
-
   if ((reg = arm_reg_parse (&p, REG_TYPE_RN)) == FAIL)
     {
       inst.error = _(reg_expected_msgs[REG_TYPE_RN]);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] gas: delete unnecessary skip of whitespace
  2013-10-17 22:27 [PATCH] gas: delete unnecessary skip of whitespace Gregory Fong
@ 2013-10-17 22:34 ` Gregory Fong
  0 siblings, 0 replies; 2+ messages in thread
From: Gregory Fong @ 2013-10-17 22:34 UTC (permalink / raw)
  To: binutils; +Cc: Roland McGrath

On Thu, Oct 17, 2013 at 3:26 PM, Gregory Fong <gregory.0xf0@gmail.com> wrote:
> Was going through fixes for PR14887 and PR14987 and noticed that
> there's a whitespace skip that was made unnecessary by
> https://sourceware.org/ml/binutils-cvs/2013-06/msg00107.html .
>
> This is pretty minor and could probably just be worked into a larger
> cleanup changeset if there are plans for that in the near future.
>
> Checked for regression by running the testsuite.
>

Sorry, accidentally let gmail butcher that patch.  This should be better:

gas/
        * config/tc-arm.c (parse_address_main) Delete skip of whitespace
        here as it is no longer needed.

--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -5175,9 +5175,6 @@ parse_address_main (char **str, int i, int group_rel
       return PARSE_OPERAND_SUCCESS;
     }

-  /* PR gas/14887: Allow for whitespace after the opening bracket.  */
-  skip_whitespace (p);
-
   if ((reg = arm_reg_parse (&p, REG_TYPE_RN)) == FAIL)
     {
       inst.error = _(reg_expected_msgs[REG_TYPE_RN]);

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-17 22:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-17 22:27 [PATCH] gas: delete unnecessary skip of whitespace Gregory Fong
2013-10-17 22:34 ` Gregory Fong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).