binutils-gdb/gas/doc
Jan Beulich 0d96d156ac gas: consistently drop trailing whitespace when scrubbing
From especially the checks for the two separator forms it appears to
follow that the construct being touched is about trailing whitespace. In
such a case, considering that for many targets ordinary and line comment
chars overlap, take into account that line comment chars override
ordinary ones in lex[] (logic elsewhere in do_scrub_chars() actually
depends on that ordering, and also accounts for this overriding).

Plus of course IS_NEWLINE() would better also be consulted. Note also
that the DOUBLESLASH_LINE_COMMENTS change should generally have no
effect just yet; it's a prereq for a later change but better fits here.

Leave respective comments as well, and update documentation to correct
which comment form is actually replaced by a single blank (i.e. neither
the ones starting with what {,tc_}comment_chars[] has nor the ones
starting with what line_comment_chars[] has).
2024-07-19 11:54:09 +02:00
..
all.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
as.texi gas: consistently drop trailing whitespace when scrubbing 2024-07-19 11:54:09 +02:00
c-aarch64.texi aarch64: disable feature b16b16 2024-07-12 11:05:35 +01:00
c-alpha.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-arc.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-arm.texi arm: minor documentation cleanup given removal of FPA 2024-06-05 17:45:45 +01:00
c-avr.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-bfin.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-bpf.texi bpf: there is no ldinddw nor ldabsdw instructions 2024-01-29 19:22:41 +01:00
c-cr16.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-cris.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-csky.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-d10v.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-d30v.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-epiphany.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-h8300.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-hppa.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-i386.texi x86/APX: extend SSE2AVX coverage 2024-05-03 09:26:25 +02:00
c-ia64.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-ip2k.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-kvx.texi gas/doc: fix several typos 2024-01-08 13:53:49 +00:00
c-lm32.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-loongarch.texi gas/doc: fix several typos 2024-01-08 13:53:49 +00:00
c-m32c.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-m32r.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-m68hc11.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-m68k.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-metag.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-microblaze.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-mips.texi MIPS/GAS: Handle --trap command-line option dynamically 2024-07-19 09:42:56 +01:00
c-mmix.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-msp430.texi gas/doc: fix several typos 2024-01-08 13:53:49 +00:00
c-mt.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-nds32.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-nios2.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-ns32k.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-or1k.texi gas/doc: fix several typos 2024-01-08 13:53:49 +00:00
c-pdp11.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-pj.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-ppc.texi PowerPC: Add support for Power11 options 2024-02-09 10:52:23 -06:00
c-pru.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-riscv.texi gas/doc/riscv: Fixed typo of `.insn cj' format 2024-07-03 11:42:15 +08:00
c-rl78.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-rx.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-s12z.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-s390.texi gas/doc: fix several typos 2024-01-08 13:53:49 +00:00
c-score.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-sh.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-sparc.texi gas/doc: fix several typos 2024-01-08 13:53:49 +00:00
c-tic6x.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-tic54x.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-tilegx.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-tilepro.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-v850.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-vax.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-visium.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-wasm32.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-xgate.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-xstormy16.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-xtensa.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-z8k.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
c-z80.texi gas/doc: fix several typos 2024-01-08 13:53:49 +00:00
fdl.texi
h8.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
internals.texi Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
local.mk Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30