Re: Make m4 only call macros surrounded by brackets.
Eric Blake <[email protected]> Mon, 02 Mar 2015 06:53:56 -0700
| Newsgroups | gmane.comp.gnu.m4.general |
|---|---|
| Organization | Red Hat, Inc. |
| Message-ID | <[email protected]> |
On 02/28/2015 04:21 PM, Zack Piper wrote: > > Hm, I found out how to do it. Unfortuently it seems to segfault when using "changeword(`#<\([_a-zA-Z0-9]*\)>)')", and then trying to invoke a macro: > > (gdb) run gpp.m4 > Starting program: /usr/local/bin/m4 gpp.m4 > Got object file from memory but can't read symbols: File truncated. > A segfault is never good. Can you please post the contents of gpp.m4, show the exact version of m4 you are testing, and possible provide more of the backtrace, so that we can debug what went wrong? -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
(application/pgp-signature, 604 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJU9Gt0AAoJEKeha0olJ0NqqcQH/0gRbezuy/ym7ho7MSDK1u1G 7Fu4QY7LczgtIbZvwcWrFLgG+cInNV+sLUDOvbusSkyQ8rOhHsgqlLzw+qfJcQ2a RJM8CZEecR+/K3+0X6McUMDBv0D810J743FrylTqQKseZ50ScKx5KvsdtBgM13y7 iCq4Jz7hJEmvt9cLs7fr2yKdoB4KlizlukU4mlNy+5PWKE3fZLbo6QxbP/6fO19X khNNFI3jxxfPMmV+nERPE87PA3IOip6GHtiakNgVsyWiRLl6Y+E8eG2uZgeYDnkv PBr6Fc0+hZhUmf0KT3i8bs6kCaVcJ0SucleAr5fAjfRK0FtAh53jYrgni7kWFNw= =VBXr -----END PGP SIGNATURE-----