[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Expansion of a macro
From: |
tomas |
Subject: |
Re: Expansion of a macro |
Date: |
Mon, 20 Apr 2015 21:16:20 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, Apr 20, 2015 at 04:33:07PM +0100, A0 wrote:
> Hi all,
>
> How can one find out what a macro expands to?
> Error reports are useful when it expands to nonsense, but how
> to do this in general?
There's macroexpand, but perhaps it'll expand more than you'd
like.
If your editor is Emacs, I'd recommend geiser[1]: it has an
"expand region" functionality.
HTH
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlU1UIQACgkQBcgs9XrR2kapGgCfbhWPSY5x96V043+M+NDVVa41
GvAAn01a4UmorTqswAi/Vx+JDjwhza36
=eDY5
-----END PGP SIGNATURE-----