> On 07 May 2015, at 12:52, Leon Alrae <leon.al...@imgtec.com> wrote: > >> is it that difficult to count the "arg"s and correctly alloc the array? > > This probably would require going through the list twice
the code to iterate is already there, for other options, you just need to add a branch to the existing case. regards, Liviu