checking macro invocations

This file is copyright © 2004,2005,2006,2011 by Panu Kalliokoski and released under the stx2any license.

Pass preformatted blocks through.

/^{{{$/,/^}}}$/ b

Prepare input so that every direct macro call can be checked against definedness. We protect against meddling with defines, because sometimes the users will want to legitimately redefine stx2any macros.

/define/!{
/`/!{
s#\([^A-Za-z0-9]\)\(w_[a-z_][a-z_]*\)#\1w_invoke(`\2')#g
s#^w_[a-z_][a-z_]*#w_invoke(`&')#
}
}