Add %rename matching docs and improvements

Add in %$isusing macro for %rename.
Improve docs for %$not and notmatch.
This commit is contained in:
William S Fulton 2022-02-23 19:38:23 +00:00
commit 546062fdf1
2 changed files with 26 additions and 1 deletions

View file

@ -268,7 +268,9 @@ static int NAME(TYPE x) {
*/
%define %$not "not" %enddef
/* Note that when %$not is used with another macro, say %enum as follows: %$not %$enum, the result is "notmatch=enum" */
%define %$not "not" %enddef
%define %$isenum "match"="enum" %enddef
%define %$isenumitem "match"="enumitem" %enddef
%define %$isaccess "match"="access" %enddef
@ -279,6 +281,7 @@ static int NAME(TYPE x) {
%define %$isnamespace "match"="namespace" %enddef
%define %$istemplate "match"="template" %enddef
%define %$isconstant "match"="constant" %enddef /* %constant definition */
%define %$isusing "match"="using" %enddef
%define %$isunion "match$kind"="union" %enddef
%define %$isfunction "match$kind"="function" %enddef