Re: [PATCH] Choose syntax with dynamic list allocation



Hello,

I see you were too eager to get your stuff into CVS. Please, explain the
use of `char ***pnames'.

On Wed, 20 Jul 2005, Leonard den Ottolander wrote:

> Well, it turned out my pointer arithmetic wasn't that bad, but testing
> for (! count % NENTRIES) to reallocate the list is not entirely correct
> ;).
>
> Here is a patch which allocates the syntax list dynamically. NENTRIES is
> currently defined as 3, but that is for testing purposes only.
>
> Maybe we should save the syntax list instead of creating it on every
> invocation of the editor?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]