aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-08-16 08:35:16 +0200
committerJan Beulich <jbeulich@suse.com>2024-08-16 08:35:16 +0200
commit50e19e6e6c4254cb12011afe1522ed9b1e98931d (patch)
tree2ff894d60dea642498ec180ef8e5337035f2d515 /gas/read.c
parent4b939bab12e8f9a94af388aa1b77ada4d15e45fd (diff)
downloadfsf-binutils-gdb-50e19e6e6c4254cb12011afe1522ed9b1e98931d.zip
fsf-binutils-gdb-50e19e6e6c4254cb12011afe1522ed9b1e98931d.tar.gz
fsf-binutils-gdb-50e19e6e6c4254cb12011afe1522ed9b1e98931d.tar.bz2
gas: don't open-code LEX_*NAME
... except in read.c's definition of lex_type[], where readbility would otherwise suffer.
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/read.c b/gas/read.c
index ba31f8d..3734b2b 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -285,7 +285,8 @@ read_begin (void)
/* Use more. FIXME-SOMEDAY. */
if (flag_mri)
- lex_type['?'] = 3;
+ lex_type['?'] = LEX_BEGIN_NAME | LEX_NAME;
+
stabs_begin ();
#ifndef WORKING_DOT_WORD