Add %note directive to add a note in the list file

This differs from a plain old comment in the following ways:

1. It is optionally macro-expanded;
2. It has a dash prefix;
3. It can be used inside .nolist macros.

Suggested-by: <pushbx@ulukai.org>
Resolves: https://bugzilla.nasm.us/show_bug.cgi?id=3392915
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin 2024-09-19 13:21:30 +02:00
parent 6ad3bab7fe
commit 8d62e99e14
8 changed files with 85 additions and 43 deletions

View file

@ -1,4 +1,3 @@
#include "compiler.h"
FILE *error_file;