]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gas: drop dead check for double quote
authorJan Beulich <jbeulich@suse.com>
Thu, 28 Mar 2024 10:54:25 +0000 (11:54 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 28 Mar 2024 10:54:25 +0000 (11:54 +0100)
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.

gas/read.c

index 61a3f172674b0a71dca7ab9eb4cf6ccbc0582929..8026a6cdb65271e9335b31f54532f968e931bae7 100644 (file)
@@ -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))
                {