From: Jan Beulich Date: Fri, 23 Aug 2024 07:23:34 +0000 (+0200) Subject: gas: update lex_type[] also for .mri directives X-Git-Tag: gdb-16-branchpoint~1087 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b67ed4587727b940e9faafa8cdb1db1c32e34846;p=thirdparty%2Fbinutils-gdb.git gas: update lex_type[] also for .mri directives Doing this just from read_begin(), i.e. merely based on command line options, can't be sufficient (assuming it's really relevant). --- diff --git a/gas/read.c b/gas/read.c index 3734b2b0ca8..71915eebd19 100644 --- a/gas/read.c +++ b/gas/read.c @@ -2850,6 +2850,7 @@ s_mri (int ignore ATTRIBUTE_UNUSED) #ifdef TC_M68K flag_m68k_mri = 1; #endif + lex_type['?'] = LEX_BEGIN_NAME | LEX_NAME; } else { @@ -2857,6 +2858,7 @@ s_mri (int ignore ATTRIBUTE_UNUSED) #ifdef TC_M68K flag_m68k_mri = 0; #endif + lex_type['?'] = LEX_QM; } /* Operator precedence changes in m68k MRI mode, so we need to