diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2016-05-09 14:10:32 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2016-05-09 14:10:32 -0700 |
commit | 3736895c07537856b3ce035258485dd5cfd8af9a (patch) | |
tree | e0ebc3789bde22bf1281c04ba78d71e5f94e5bf2 /.gitignore | |
parent | 4def1a8db462548f60b3b5b44c2ee585c21af9e0 (diff) | |
download | nasm-3736895c07537856b3ce035258485dd5cfd8af9a.tar.gz |
Fix and clean up listing of macro expansion
Fix the printing of the macro stack: we need to follow the
mstk->next_active list, not mstk->next, and we need to reverse the
order so that the highest-level inclusion comes first.
Since this should be a rare or at least performance-insensitive
operation, do it using simple function recursion.
Finally, add an ellipsis before the "from macro" message; it greatly
enhances readability.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions