diff --git a/doc/changes.src b/doc/changes.src index 86ba95e3..5c756a1b 100644 --- a/doc/changes.src +++ b/doc/changes.src @@ -12,6 +12,8 @@ since 2007. \b Support for indirect macro expansion (\c{%[...]}). See \k{indmacro}. +\b \c{%pop} can now take an argument, see \k{pushpop}. + \S{cl-2.05} Version 2.05 diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src index 5531ff99..39d83aaa 100644 --- a/doc/nasmdoc.src +++ b/doc/nasmdoc.src @@ -3140,9 +3140,10 @@ distinguished. If no name is given, the context is unnamed (this is normally used when both the \c{%push} and the \c{%pop} are inside a single macro definition.) -The directive \c{%pop}, requiring no arguments, removes the top +The directive \c{%pop}, taking one optional argument, removes the top context from the context stack and destroys it, along with any -labels associated with it. +labels associated with it. If an argument is given, it must match the +name of the current context, otherwise it will issue an error. \S{ctxlocal} \i{Context-Local Labels}