Re: Conf stuff

Bram Moolenaar <[email protected]> Tue, 01 Jun 2004 12:49:39 +0200
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
Lars Ivar Igesund wrote:

> I'm looking at the implementation of the configuration stuff, but I'm 
> kinda stuck in DoConf.py (probably it's my misunderstanding of something 
> pythonesque...)
> 
> On line 207, it says this:
> 
> 	for i in range(1, len(argdictlist)):
> 
> Lets say the command is :conf header ...
> Does this loop then just iterate over all the possible headers? Will the 
> loop only iterate once if only one header is specified?

The idea was that ":conf header" can be followed by several header file
names.  For example:

	:conf header time.h sysdefs.h

Thus the loop is then executed for "time.h" and "sysdefs.h".

> And does this mean that the different header files can specify
> different (C or C++) languages?

I don't think C and C++ header files are separate.  The difference would
have to be indicated by the name.  Or by the include path perhaps, as
indicated by $INCLUDE.

-- 
Far back in the mists of ancient time, in the great and glorious days of the
former Galactic Empire, life was wild, rich and largely tax free.
Mighty starships plied their way between exotic suns, seeking adventure and
reward among the furthest reaches of Galactic space.  In those days, spirits
were brave, the stakes were high, men were real men, women were real women
and small furry creatures from Alpha Centauri were real small furry creatures
from Alpha Centauri.  And all dared to brave unknown terrors, to do mighty
deeds, to boldly split infinitives that no man had split before -- and thus
was the Empire forged.
		-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click