Hi,

On Fri, Feb 11, 2005 at 03:04:50PM +0000, Gary V. Vaughan wrote:
> There is an outstanding issue of how to handle hard quotes, which should
> allow for unbalanced quotes in cases like this.

combination of full expansion and unbalanced quotes?
Ugly and fragile, nono.

Unbalanced quotes in a text which is not expanded?
qindir and defn

Perhaps:
        define(`foo', indir(`include', `a_file'))

to fetch a contents of a file.  (Well, we also have to take care of $'s.)

I will have to try to solve some examples to get a clue what remains now
when we have qindir.

> >       define(b,NONO)dnl
> >       patsubst(qindir(`include', f), b, x)
> >       z'x
> 
> Did you mean to add a quote there:
>         patsubst(qindir(`include', f), `b', x)
> 
> Or are you trying to specify a different use case:
>         qindir(`patsubst', qindir(`include', f), `b', x)

Sure.  Commited the fix.

> I'm not sure I understand what the NONO is trying to illustrate :-(

I meant to illustrate the difference from

        patsubst(include(f), `b', x)

which would yield

        zNONO'

Stepan


_______________________________________________
Bug-m4 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-m4

Reply via email to