Re: [taskjuggler] Redefinition of macros?

From: Chris Schlaeger (cs_at_suse.de)
Date: Tue Apr 05 2005 - 23:36:47 CEST


From: Chris Schlaeger <cs@suse.de>
Date: Tue, 5 Apr 2005 15:36:47 -0600
Message-Id: <200504051536.53825.cs@suse.de>
Subject: Re: [taskjuggler] Redefinition of macros?


Hi Ulrich,

On Tuesday 05 April 2005 07:20, Ulrich Hammel wrote:
> Hi there,
>
> is it possible to redefine or undefine a macro?

no this is currently not supported. The TaskJuggler syntax was designed to be
very error resistant. So all items need to be declared first or redefinitions
result in an error message.

In that sense an 'undefine' statement for macros would be the right way to
implement it. So far nobody asked for it but it would not be much work to add
it. What do you need it for?

I'm generally very familiar with macro languages such as the C preprocessor or
even m4. I added the macros to TJ because it is a powerful feature, but hoped
that people would use it only scarcely. I guess you proved me wrong now. ;)

Chris

-- 
KDE 3.4: Conquer your Enterprise Desktop!  See http://www.kde.org!
GPG Key: 1024D/0500838B  A5FE C051 2AFC 9A14 768A  5125 5829 5750 0500 838B




This archive was generated by hypermail 2.1.7 : Wed Apr 06 2005 - 15:02:01 CEST