Mercurial > hg > index.cgi
diff lwasm/pass3.c @ 555:bbc600db5016
Add \Ln and {Ln} standing for the length of the specified argument in macros
It seems useful to be able to identify the length of a macro argument. Add
argument expansion syntax replaced with the length of the specified
argument:
\Ln or {Ln} will return the length of the nth argument, or zero if there is
no nth argument. Argument 0 is the macro name.
author | William Astle <lost@l-w.ca> |
---|---|
date | Sun, 23 Jul 2023 17:07:58 -0600 |
parents | 697bc543368c |
children |