diff options
Diffstat (limited to 'gas/config/tc-i386.c')
-rw-r--r-- | gas/config/tc-i386.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index f37c259..823435f 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -182,15 +182,19 @@ typedef struct _i386_insn i386_insn; /* List of chars besides those in app.c:symbol_chars that can start an operand. Used to prevent the scrubber eating vital white-space. */ +const char extra_symbol_chars[] = "*%-([" #ifdef LEX_AT -const char extra_symbol_chars[] = "*%-(@["; -#else -const char extra_symbol_chars[] = "*%-(["; + "@" +#endif +#ifdef LEX_QM + "?" #endif + ; #if (defined (TE_I386AIX) \ || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) \ && !defined (TE_LINUX) \ + && !defined (TE_NETWARE) \ && !defined (TE_FreeBSD) \ && !defined (TE_NetBSD))) /* This array holds the chars that always start a comment. If the @@ -972,6 +976,10 @@ md_begin () #ifdef LEX_AT identifier_chars['@'] = '@'; #endif +#ifdef LEX_QM + identifier_chars['?'] = '?'; + operand_chars['?'] = '?'; +#endif digit_chars['-'] = '-'; identifier_chars['_'] = '_'; identifier_chars['.'] = '.'; |