Re: [PATCH] Choose syntax with dynamic list allocation

2005-07-25 Thread Leonard den Ottolander
Hi Pavel, On Mon, 2005-07-25 at 21:41, Pavel Tsekov wrote: > On Mon, 25 Jul 2005, Leonard den Ottolander wrote: > > The char** (string list) that was names is dynamically allocated in > > edit_read_syntax_file(). Since I have to pass that char** by reference I > > end up using a char*** (pnames).

Re: [PATCH] Choose syntax with dynamic list allocation

2005-07-25 Thread Pavel Tsekov
Hello, On Mon, 25 Jul 2005, Leonard den Ottolander wrote: > > Please, explain the > > use of `char ***pnames'. > > The char** (string list) that was names is dynamically allocated in > edit_read_syntax_file(). Since I have to pass that char** by reference I > end up using a char*** (pnames). See

Re: [PATCH] Choose syntax with dynamic list allocation

2005-07-25 Thread Leonard den Ottolander
Hi Pavel, On Mon, 2005-07-25 at 12:55, Pavel Tsekov wrote: > I see you were too eager to get your stuff into CVS. Well, I've been using that code for a while now, so I thought committing it to HEAD was not done prematurely. Had I been eager I would have committed it to PRE and have it in the rele

Re: [PATCH] Choose syntax with dynamic list allocation

2005-07-25 Thread Pavel Tsekov
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 c