Adri Verhoef wrote:

> I saw the word "spend" being used and wondered why it wasn't being spelled as
> "spent".
> 
> I decided to grep both words in all '.c' files I could find.  Here is a 
> sample of the
> result:
> $ find|grep \\.c$|xargs grep [^u]spend
> ./src/eval.c:    proftime_T     uf_tm_total;    /* time spend in function + 
> children */
> ./src/eval.c:    proftime_T     uf_tm_self;     /* time spend in function 
> itself */
> ./src/eval.c:    proftime_T     *uf_tml_total;  /* time spend in a line + 
> children */
> ./src/eval.c:    proftime_T     *uf_tml_self;   /* time spend in a line 
> itself */
> ./src/ex_cmds2.c:    proftime_T sn_pr_total;    /* time spend in script + 
> children */
> ./src/ex_cmds2.c:    proftime_T sn_pr_self;     /* time spend in script 
> itself */
> ./src/ex_cmds2.c:    proftime_T sn_prl_total;   /* time spend in a line + 
> children */
> ./src/ex_cmds2.c:    proftime_T sn_prl_self;    /* time spend in a line 
> itself */
> ./src/ex_cmds2.c:       /* Grow the array before starting the timer, so that 
> the time spend
> $ find|grep \\.c$|xargs grep spent
> ./src/eval.c:    proftime_T     uf_tm_children; /* time spent in children 
> this call */
> ./src/eval.c:    proftime_T     uf_tml_children; /* time spent in children 
> for this line */
> ./src/eval.c:    proftime_T     prof_child;     /* time spent in a child */
> ./src/eval.c: * Take care of time spent in a child.
> ./src/ex_cmds2.c:    proftime_T sn_prl_children; /* time spent in children 
> for this line */
> ./src/ex_cmds2.c: * Count time spent in children after invoking another 
> script or function.
> ./src/syntax.c: * To reduce the time spent in keepend(), remember at which 
> level in the state
> 
> IMO it is: To spend - spending - spent
> It's not in a real bug in the program source, but ...

Yes, this was a typo.  Thanks.

-- 
Corn oil comes from corn and olive oil comes from olives, so where
does baby oil come from?

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui