Home | History | Annotate | Download | only in nasm

Lines Matching defs:expansion

16  *   from a macro expansion
70 Token *expansion;
102 Line *expansion;
110 int lineno; /* Current line number on expansion */
164 * `expansion' field in MMacro structures, so that the linked list,
167 * push the lines on to the `expansion' field in _istk_ in reverse
173 * markers delimiting the end of the expansion of a given macro.
195 Line *expansion;
1077 lp = &istk->expansion;
1162 free_llist(m->expansion);
1182 free_tlist(s->expansion);
1935 * This is called both from within the multi-line macro expansion
2532 /* Allow macro expansion of type parameter */
2629 /* Allow macro expansion of type parameter */
2700 free_tlist(s->expansion);
2735 inc->expansion = NULL;
2826 free_tlist(smac->expansion);
2847 free_tlist(smac->expansion);
3084 defining->expansion = NULL;
3213 defining->expansion = NULL;
3228 * push a macro-end marker for it on to istk->expansion.
3233 * continues) until the whole expansion is forcibly removed
3234 * from istk->expansion by a %exitrep.
3237 l->next = istk->expansion;
3240 istk->expansion = l;
3252 * We must search along istk->expansion until we hit a
3256 for (l = istk->expansion; l; l = l->next)
3365 * token list (in reverse order) for an expansion. We ought
3368 * carefully re-terminated after chopping off the expansion
3390 free_tlist(smac->expansion);
3409 smac->expansion = macro_start;
3453 free_tlist(smac->expansion);
3504 * zero, and a numeric token to use as an expansion. Create
3521 free_tlist(smac->expansion);
3534 smac->expansion = macro_start;
3615 * zero, and a numeric token to use as an expansion. Create
3632 free_tlist(smac->expansion);
3645 smac->expansion = macro_start;
3711 * zero, and a numeric token to use as an expansion. Create
3728 free_tlist(smac->expansion);
3741 smac->expansion = macro_start;
4148 * expansion back on the to-do stack.
4150 if (!m->expansion)
4336 for (t = m->expansion; t; t = t->next)
4392 * after expansion (they can't be produced by tokenise()). The successive
4466 * are more than one element forming the name, user wants a expansion,
4632 * there is one to be expanded. If there is, push the expansion on
4633 * istk->expansion and return 1. Otherwise return 0.
4714 * parameters. We must now go through the expansion and push
4715 * copies of each Line on to istk->expansion. Substitution of
4721 * First, push an end marker on to istk->expansion, mark this
4726 ll->next = istk->expansion;
4729 istk->expansion = ll;
4743 for (l = m->expansion; l; l = l->next)
4749 ll->next = istk->expansion;
4750 istk->expansion = ll;
4772 * the macro expansion.
4782 ll->next = istk->expansion;
4783 istk->expansion = ll;
4842 istk->expansion = NULL;
4869 * to the top-level expansion stack, since this is the
4889 l->next = istk->expansion;
4892 istk->expansion = l;
4905 * Fetch a tokenised line, either from the macro-expansion
4921 while (istk->expansion && istk->expansion->finishes)
4923 Line *l = istk->expansion;
4936 * push the whole block on to the expansion buffer
4942 for (l = l->finishes->expansion; l; l = l->next)
4947 ll->next = istk->expansion;
4961 istk->expansion = ll;
4968 * within this macro expansion. This can happen and
4976 error(ERR_PANIC, "defining with name in expansion");
4979 " expansion of macro `%s'", istk->mstk->name);
5004 istk->expansion = l->next;
5012 if (istk->expansion)
5013 { /* from a macro expansion */
5015 Line *l = istk->expansion;
5019 istk->expansion = l->next;
5054 if (istk->expansion && istk->expansion->finishes)
5087 l->next = defining->expansion;
5090 defining->expansion = l;
5172 free_tlist(s->expansion);