[PATCH] Choose syntax with dynamic list allocation

Pavel Tsekov ptsekov at gmx.net
Mon Jul 25 10:55:36 UTC 2005


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?



More information about the mc-devel mailing list