[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Multi-Line Definitions
From: |
Ralf Corsepius |
Subject: |
RE: Multi-Line Definitions |
Date: |
Wed, 19 Sep 2007 08:18:06 +0200 |
On Tue, 2007-09-18 at 15:17 -0600, Eric Lemings wrote:
>
> > -----Original Message-----
> > From: Ralf Wildenhues [mailto:address@hidden
> > Sent: Tuesday, September 18, 2007 1:32 PM
> > To: Eric Lemings; address@hidden
> > Cc: address@hidden
> > Subject: Re: Multi-Line Definitions
> >
> > Hello Eric,
> >
> > * Eric Lemings wrote on Mon, Sep 17, 2007 at 11:53:23PM CEST:
> > >
> > > I have a Autoconf M4 macro that defines a multi-line preprocessor
> > > symbol.
> > [...]
> > > How hard would it be to handle such macro definitions? Is it even
> > > possible?
> >
> > Multi-line AC_DEFINEs are not supported currently. Recently (in
> > Autoconf 2.60), support for multi-line AC_SUBSTs has been implemented.
> > Here it is useful to consider that users may generate output
> > files that
> > will not be input to a C preprocessor, but some other,
> > similar language.
>
> True. In that case, perhaps the behavior should be language-dependent?
No, AC_DEFINE => c/c++ preprocessor, only.
If you're using them elsewhere, something is broken with your use-case.
Ralf
- Re: Multi-Line Definitions, Ralf Wildenhues, 2007/09/18
- RE: Multi-Line Definitions, Eric Lemings, 2007/09/18
- RE: Multi-Line Definitions,
Ralf Corsepius <=
- Re: Multi-Line Definitions, Eric Blake, 2007/09/22
- Re: Multi-Line Definitions, Eric Blake-1, 2007/09/27
- Re: Multi-Line Definitions, Ralf Wildenhues, 2007/09/29
- Re: Multi-Line Definitions, Eric Blake, 2007/09/29
- Re: Multi-Line Definitions, Eric Blake, 2007/09/29
- m4 regex usage [was: Multi-Line Definitions], Eric Blake, 2007/09/29
- m4sugar speedups [was: Multi-Line Definitions], Eric Blake, 2007/09/29
- Re: m4sugar speedups [was: Multi-Line Definitions], Benoit SIGOURE, 2007/09/30
- Re: m4sugar speedups [was: Multi-Line Definitions], Eric Blake, 2007/09/30