aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/changes.src6
-rw-r--r--doc/nasmdoc.src4
2 files changed, 10 insertions, 0 deletions
diff --git a/doc/changes.src b/doc/changes.src
index a4df0473..ad539676 100644
--- a/doc/changes.src
+++ b/doc/changes.src
@@ -7,6 +7,12 @@
The NASM 2 series supports x86-64, and is the production version of NASM
since 2007.
+\S{cl-2.15} Version 2.15
+
+\b The state of warnings can now be saved and restored via the
+\c{[WARNING PUSH]} and \c{[WARNING POP]} directives. See
+\k{asmdir-warning}.
+
\S{cl-2.14.03} Version 2.14.03
\b Suppress nuisance "\c{label changed during code generation}" messages
diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src
index 5ce113a2..a8559d46 100644
--- a/doc/nasmdoc.src
+++ b/doc/nasmdoc.src
@@ -4776,6 +4776,10 @@ more details about warning classes.
the original value, either the default value or as specified on the
command line.
+\b \c{[warning push]} saves the current warning state on a stack.
+
+\b \c{[warning pop]} restores the current warning state from the stack.
+
The \c{[WARNING]} directive also accepts the \c{all}, \c{error} and
\c{error=}\e{warning-class} specifiers.