[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: backslashes in macro arguments
From: |
Eric Blake |
Subject: |
Re: backslashes in macro arguments |
Date: |
Tue, 15 Jun 2010 07:00:08 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Mnenhy/0.8.2 Thunderbird/3.0.4 |
On 06/14/2010 09:27 PM, Ralf Wildenhues wrote:
> * Eric Blake wrote on Mon, Jun 14, 2010 at 11:30:46PM CEST:
>> Any other ideas for a workaround that works for both info and pdf?
>
> Not using macros here?
Rather obvious, now that you mention it.
>
> address@hidden m4_split (@var{string}, @dvar{regexp, [\t ]+})
> address@hidden We cannot use @dvar because the macro expansion mistreats
> backslashes.
> address@hidden m4_split (@var{string}, @address@hidden = @samp{[\t
> address@hidden)
> @msindex{split}
Yes, that looks decent in both output formats. Please apply ;)
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature