This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problem processing \@ expression in arm/thumb assembler macros


Hi

Hmm, I thought \@ was sort of a special case as it is the exact syntax
required by that macro expression (except I only turned it on for arm).
\@ always has to work regardless...

I suppose I could have it test for '\' followed by IS_COMMENT(ch) ...

How about that?


tom


Ian Lance Taylor wrote:
> 
>    Date: Fri, 10 Mar 2000 14:28:38 -0800
>    From: Thomas de Lellis <tdel@windriver.com>
> 
>    Found a problem where \@ was not being processed correctly with
>    arm/thumb assemblers. Attached is a change for gas/app.c that fixes the
>    problem.
> 
> This sort of problem does arise periodically: a conflict between gas's
> machine independent syntax and its machine dependent syntax.  These
> problems are hard to solve.
> 
> Your patch is kind of a special case solution, which can potentially
> silently change the meaning of existing code.  I don't know if that is
> best.  It seems to me that we should look for a more general solution:
> perhaps all comment characters should be ignored after a backslash;
> perhaps there should be an alternative to \@.
> 
> Ian

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]