https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117961

--- Comment #8 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
(In reply to ak from comment #7)
> i suppose scan-assembler could just ignore lines starting with #

I don't think that's the correct solution.  Better ignore lines with
ASM_COMMENT_START, which may or may not include a #, and may or may not start
with an asm comment. For example, in avr.h there is a blank prior to the
comment character:

#define ASM_COMMENT_START " ; "

Unfortunately there's nothing like a built-in macro __ASM_COMMENT_START, so
there's no good way of getting the the ASM_COMMENT_START string out of the
compiler.

Reply via email to