Re: Question about :execute {pass}

Bram Moolenaar <[email protected]>
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
Scott Witscher wrote:

> I have a question about the behavior of the :execute function.  When I
> use the {pass} option the execute command does not set variables that
> are specified on the :execute command line.  This does work without
> the {pass} option.  Is this the intended behavior or is this a bug?
> 
> When I run aap on the example below I get the following output.
> 
> > aap
> -DFOO
> -DBAR
> 
> > aap bad
> Aap: Error in recipe "/tmp/aaptest/main.aap" line 2: NameError: name 'vary' is not defined

I have now fixed this problem.  The arguments of ":execute" ended up in
the wrong dictionary.  Aap 1.023 will be available later today.

-- 
ZOOT:  I'm afraid our life must seem very dull and quiet compared to yours.
       We are but eightscore young blondes, all between sixteen and
       nineteen-and-a-half, cut off in this castle, with no one to protect us.
       Oooh.  It is a lonely life ... bathing ...  dressing ... undressing ...
       making exciting underwear....
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.