public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] gas: drop dead check for double quote
@ 2024-03-28 10:56 Jan Beulich
  0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2024-03-28 10:56 UTC (permalink / raw)
  To: binutils-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=09be89098e3a85785429130030842d4ab11e57e5

commit 09be89098e3a85785429130030842d4ab11e57e5
Author: Jan Beulich <jbeulich@suse.com>
Date:   Thu Mar 28 11:54:25 2024 +0100

    gas: drop dead check for double quote
    
    FB and dollar label definitions can't be enclosed in double quotes. In
    fact at that point nul_char is the same as next_char, which we know is a
    digit.

Diff:
---
 gas/read.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gas/read.c b/gas/read.c
index 61a3f172674..8026a6cdb65 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -1262,9 +1262,6 @@ read_a_source_file (const char *name)
 
 	      temp = next_char - '0';
 
-	      if (nul_char == '"')
-		++ input_line_pointer;
-
 	      /* Read the whole number.  */
 	      while (ISDIGIT (*input_line_pointer))
 		{

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-28 10:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-28 10:56 [binutils-gdb] gas: drop dead check for double quote Jan Beulich

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).