mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
1df7263ae9
Add [warning push] and [warning pop] directives. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
11 lines
227 B
NASM
11 lines
227 B
NASM
%warning "Good warning"
|
|
[warning push]
|
|
[warning -user]
|
|
%warning "Bad warning"
|
|
[warning pop]
|
|
%warning "Good warning"
|
|
[warning -user]
|
|
%warning "Bad warning"
|
|
[warning pop] ; should warn but reset all
|
|
%warning "Good warning"
|