This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: Modifying comment character on SVR4 gas target


John Levon <levon@movementarian.org> writes:

> I'd like to add an option similar to m68k's --bitwise-or to change the
> comment character. It's easy enough to add a tc_comment_chars and
> --divide option to remove '/' from comment_chars, but since GCC still
> generates comment lines beginning with e.g. "/APP", it looks like I need
> to add '/' to line_comment_chars when given the option, and introduce a
> tc_line_comment_chars.
> 
> Does this seem like a reasonable approach, or would people prefer
> something else?

You can unconditionally add '/' to line_comment_chars.

Changing comment_chars along the lines of --bitwise-or is reasonable.

Ian


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