preproc: preserve %[...] in listings

When generating list output, preserve %[...] in the output if we list
a TOK_INDIRECT. The tokenization process removes these deliminators,
so we have to explicitly put them back.

This doesn't affect assembly output, which will only ever be generated
after all TOK_INDIRECT tokens have been removed, but it does affect
some of the listing modes.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
1 file changed
tree: bbde27d993ca40ff330530114f5cc458f347cf07
  1. asm/
  2. autoconf/
  3. common/
  4. config/
  5. contrib/
  6. disasm/
  7. doc/
  8. headers/
  9. include/
  10. macros/
  11. misc/
  12. Mkfiles/
  13. nasmlib/
  14. nsis/
  15. output/
  16. perllib/
  17. rdoff/
  18. stdlib/
  19. test/
  20. tools/
  21. travis/
  22. x86/
  23. .gitattributes
  24. .gitignore
  25. .travis.yml
  26. AUTHORS
  27. autogen.sh
  28. ChangeLog
  29. CHANGES
  30. configure.ac
  31. INSTALL
  32. LICENSE
  33. Makefile.in
  34. nasm.spec.in
  35. nasm.spec.sed
  36. nasm.txt
  37. ndisasm.txt
  38. README.md
  39. SubmittingPatches
  40. version
  41. version.pl
README.md

NASM, the Netwide Assembler

master

Many many developers all over the net respect NASM for what it is: a widespread (thus netwide), portable (thus netwide!), very flexible and mature assembler tool with support for many output formats (thus netwide!!).

Now we have good news for you: NASM is licensed under the "simplified" (2-clause) BSD license. This means its development is open to even wider society of programmers wishing to improve their lovely assembler.

Visit our nasm.us website for more details.

With best regards, the NASM crew.